ReactOS 0.4.15-dev-7953-g1f49173
rasshost.h
Go to the documentation of this file.
1#ifndef _RASSHOST_H_
2#define _RASSHOST_H_
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#include <ras.h>
8#include <mprapi.h>
9
10#define SECURITYMSG_SUCCESS 1
11#define SECURITYMSG_FAILURE 2
12#define SECURITYMSG_ERROR 3
13
14typedef HANDLE HPORT;
15
16typedef struct _SECURITY_MESSAGE
17{
24
25typedef struct _RAS_SECURITY_INFO
26{
31
33
40
41#ifdef __cplusplus
42}
43#endif
44#endif
#define MAX_DEVICE_NAME
Definition: fdc.h:14
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
#define DNLEN
Definition: lmcons.h:16
static HANDLE hEvent
Definition: comm.c:54
#define DWORD
Definition: nt_native.h:44
WORD * PWORD
Definition: pedump.c:67
BYTE * PBYTE
Definition: pedump.c:66
static ULONG Timeout
Definition: ping.c:61
struct _SECURITY_MESSAGE * PSECURITY_MESSAGE
struct _SECURITY_MESSAGE SECURITY_MESSAGE
struct _RAS_SECURITY_INFO * PRAS_SECURITY_INFO
DWORD WINAPI RasSecurityDialogEnd(IN HPORT hPort)
DWORD WINAPI RasSecurityDialogSend(IN HPORT hPort, IN PBYTE pBuffer, IN WORD BufferLength)
DWORD WINAPI RasSecurityDialogGetInfo(IN HPORT hPort, IN RAS_SECURITY_INFO *pBuffer)
DWORD(WINAPI * RASSECURITYPROC)()
Definition: rasshost.h:32
DWORD WINAPI RasSecurityDialogBegin(IN HPORT hPort, IN PBYTE pSendBuf, IN DWORD SendBufSize, IN PBYTE pRecvBuf, IN DWORD RecvBufSize, IN VOID(WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *))
DWORD WINAPI RasSecurityDialogReceive(IN HPORT hPort, IN PBYTE pBuffer, IN PWORD pBufferLength, IN DWORD Timeout, IN HANDLE hEvent)
HANDLE HPORT
Definition: rasshost.h:14
VOID WINAPI RasSecurityDialogComplete(IN SECURITY_MESSAGE *pSecMsg)
struct _RAS_SECURITY_INFO RAS_SECURITY_INFO
PVOID pBuffer
#define UNLEN
Definition: sspi.c:28
DWORD BytesReceived
Definition: rasshost.h:28
CHAR Domain[DNLEN+1]
Definition: rasshost.h:22
CHAR UserName[UNLEN+1]
Definition: rasshost.h:21
#define IN
Definition: typedefs.h:39
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3771
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Definition: wdfdevice.h:3275
#define WINAPI
Definition: msvc.h:6
char CHAR
Definition: xmlstorage.h:175