ReactOS  0.4.15-dev-509-g96a357b
rasshost.h File Reference
#include <ras.h>
#include <mprapi.h>
Include dependency graph for rasshost.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SECURITY_MESSAGE
 
struct  _RAS_SECURITY_INFO
 

Macros

#define SECURITYMSG_SUCCESS   1
 
#define SECURITYMSG_FAILURE   2
 
#define SECURITYMSG_ERROR   3
 

Typedefs

typedef HANDLE HPORT
 
typedef struct _SECURITY_MESSAGE SECURITY_MESSAGE
 
typedef struct _SECURITY_MESSAGEPSECURITY_MESSAGE
 
typedef struct _RAS_SECURITY_INFO RAS_SECURITY_INFO
 
typedef struct _RAS_SECURITY_INFOPRAS_SECURITY_INFO
 
typedef DWORD(WINAPIRASSECURITYPROC) ()
 

Functions

VOID WINAPI RasSecurityDialogComplete (IN SECURITY_MESSAGE *pSecMsg)
 
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 RasSecurityDialogEnd (IN HPORT hPort)
 
DWORD WINAPI RasSecurityDialogSend (IN HPORT hPort, IN PBYTE pBuffer, IN WORD BufferLength)
 
DWORD WINAPI RasSecurityDialogReceive (IN HPORT hPort, IN PBYTE pBuffer, IN PWORD pBufferLength, IN DWORD Timeout, IN HANDLE hEvent)
 
DWORD WINAPI RasSecurityDialogGetInfo (IN HPORT hPort, IN RAS_SECURITY_INFO *pBuffer)
 

Macro Definition Documentation

◆ SECURITYMSG_ERROR

#define SECURITYMSG_ERROR   3

Definition at line 12 of file rasshost.h.

◆ SECURITYMSG_FAILURE

#define SECURITYMSG_FAILURE   2

Definition at line 11 of file rasshost.h.

◆ SECURITYMSG_SUCCESS

#define SECURITYMSG_SUCCESS   1

Definition at line 10 of file rasshost.h.

Typedef Documentation

◆ HPORT

typedef HANDLE HPORT

Definition at line 14 of file rasshost.h.

◆ PRAS_SECURITY_INFO

◆ PSECURITY_MESSAGE

◆ RAS_SECURITY_INFO

◆ RASSECURITYPROC

typedef DWORD(WINAPI * RASSECURITYPROC) ()

Definition at line 32 of file rasshost.h.

◆ SECURITY_MESSAGE

Function Documentation

◆ RasSecurityDialogBegin()

DWORD WINAPI RasSecurityDialogBegin ( IN HPORT  hPort,
IN PBYTE  pSendBuf,
IN DWORD  SendBufSize,
IN PBYTE  pRecvBuf,
IN DWORD  RecvBufSize,
IN   VOIDWINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE * 
)

◆ RasSecurityDialogComplete()

VOID WINAPI RasSecurityDialogComplete ( IN SECURITY_MESSAGE pSecMsg)

◆ RasSecurityDialogEnd()

DWORD WINAPI RasSecurityDialogEnd ( IN HPORT  hPort)

◆ RasSecurityDialogGetInfo()

DWORD WINAPI RasSecurityDialogGetInfo ( IN HPORT  hPort,
IN RAS_SECURITY_INFO pBuffer 
)

◆ RasSecurityDialogReceive()

DWORD WINAPI RasSecurityDialogReceive ( IN HPORT  hPort,
IN PBYTE  pBuffer,
IN PWORD  pBufferLength,
IN DWORD  Timeout,
IN HANDLE  hEvent 
)

◆ RasSecurityDialogSend()

DWORD WINAPI RasSecurityDialogSend ( IN HPORT  hPort,
IN PBYTE  pBuffer,
IN WORD  BufferLength 
)