ReactOS  0.4.15-dev-2703-g05fb0f1
rassapi.h File Reference
#include <lmcons.h>
Include dependency graph for rassapi.h:

Go to the source code of this file.

Classes

union  RAS_PARAMS_VALUE
 
struct  RAS_PARAMETERS
 
struct  _RAS_USER_0
 
struct  _RAS_PORT_0
 
struct  _RAS_PPP_NBFCP_RESULT
 
struct  _RAS_PPP_IPCP_RESULT
 
struct  _RAS_PPP_IPXCP_RESULT
 
struct  _RAS_PPP_ATCP_RESULT
 
struct  _RAS_PPP_PROJECTION_RESULT
 
struct  _RAS_PORT_1
 
struct  _RAS_PORT_STATISTICS
 
struct  _RAS_SERVER_0
 

Macros

#define RASSAPI_MAX_PHONENUMBER_SIZE   128
 
#define RASSAPI_MAX_MEDIA_NAME   16
 
#define RASSAPI_MAX_PORT_NAME   16
 
#define RASSAPI_MAX_DEVICE_NAME   128
 
#define RASSAPI_MAX_DEVICETYPE_NAME   16
 
#define RASSAPI_MAX_PARAM_KEY_SIZE   32
 
#define RASPRIV_NoCallback   0x01
 
#define RASPRIV_AdminSetCallback   0x02
 
#define RASPRIV_CallerSetCallback   0x04
 
#define RASPRIV_DialinPrivilege   0x08
 
#define RASPRIV_CallbackType
 
#define RAS_MODEM_OPERATIONAL   1
 
#define RAS_MODEM_NOT_RESPONDING   2
 
#define RAS_MODEM_HARDWARE_FAILURE   3
 
#define RAS_MODEM_INCORRECT_RESPONSE   4
 
#define RAS_MODEM_UNKNOWN   5
 
#define RAS_PORT_NON_OPERATIONAL   1
 
#define RAS_PORT_DISCONNECTED   2
 
#define RAS_PORT_CALLING_BACK   3
 
#define RAS_PORT_LISTENING   4
 
#define RAS_PORT_AUTHENTICATING   5
 
#define RAS_PORT_AUTHENTICATED   6
 
#define RAS_PORT_INITIALIZING   7
 
#define MEDIA_UNKNOWN   0
 
#define MEDIA_SERIAL   1
 
#define MEDIA_RAS10_SERIAL   2
 
#define MEDIA_X25   3
 
#define MEDIA_ISDN   4
 
#define USER_AUTHENTICATED   0x0001
 
#define MESSENGER_PRESENT   0x0002
 
#define PPP_CLIENT   0x0004
 
#define GATEWAY_ACTIVE   0x0008
 
#define REMOTE_LISTEN   0x0010
 
#define PORT_MULTILINKED   0x0020
 
#define RAS_IPADDRESSLEN   15
 
#define RAS_IPXADDRESSLEN   22
 
#define RAS_ATADDRESSLEN   32
 
#define RASDOWNLEVEL   10
 
#define RASADMIN_35   35
 
#define RASADMIN_CURRENT   40
 

Typedefs

typedef ULONG IPADDR
 
typedef enum _RAS_PARAMS_FORMAT RAS_PARAMS_FORMAT
 
typedef union RAS_PARAMS_VALUE RAS_PARAMS_VALUE
 
typedef struct RAS_PARAMETERS RAS_PARAMETERS
 
typedef struct _RAS_USER_0 RAS_USER_0
 
typedef struct _RAS_USER_0PRAS_USER_0
 
typedef struct _RAS_PORT_0 RAS_PORT_0
 
typedef struct _RAS_PORT_0PRAS_PORT_0
 
typedef struct _RAS_PPP_NBFCP_RESULT RAS_PPP_NBFCP_RESULT
 
typedef struct _RAS_PPP_IPCP_RESULT RAS_PPP_IPCP_RESULT
 
typedef struct _RAS_PPP_IPXCP_RESULT RAS_PPP_IPXCP_RESULT
 
typedef struct _RAS_PPP_ATCP_RESULT RAS_PPP_ATCP_RESULT
 
typedef struct _RAS_PPP_PROJECTION_RESULT RAS_PPP_PROJECTION_RESULT
 
typedef struct _RAS_PORT_1 RAS_PORT_1
 
typedef struct _RAS_PORT_1PRAS_PORT_1
 
typedef struct _RAS_PORT_STATISTICS RAS_PORT_STATISTICS
 
typedef struct _RAS_PORT_STATISTICSPRAS_PORT_STATISTICS
 
typedef struct _RAS_SERVER_0 RAS_SERVER_0
 
typedef struct _RAS_SERVER_0PRAS_SERVER_0
 

Enumerations

enum  _RAS_PARAMS_FORMAT { ParamNumber = 0, ParamString = 1 }
 

Functions

DWORD APIENTRY RasAdminServerGetInfo (const WCHAR *, PRAS_SERVER_0)
 
DWORD APIENTRY RasAdminGetUserAccountServer (const WCHAR *, const WCHAR *, LPWSTR)
 
DWORD APIENTRY RasAdminUserGetInfo (const WCHAR *, const WCHAR *, PRAS_USER_0)
 
DWORD APIENTRY RasAdminUserSetInfo (const WCHAR *, const WCHAR *, const PRAS_USER_0)
 
DWORD APIENTRY RasAdminPortEnum (const WCHAR *, PRAS_PORT_0 *, WORD *)
 
DWORD APIENTRY RasAdminPortGetInfo (const WCHAR *, const WCHAR *, RAS_PORT_1 *, RAS_PORT_STATISTICS *, RAS_PARAMETERS **)
 
DWORD APIENTRY RasAdminPortClearStatistics (const WCHAR *, const WCHAR *)
 
DWORD APIENTRY RasAdminPortDisconnect (const WCHAR *, const WCHAR *)
 
DWORD APIENTRY RasAdminFreeBuffer (PVOID)
 
DWORD APIENTRY RasAdminGetErrorString (UINT, WCHAR *, DWORD)
 
BOOL APIENTRY RasAdminAcceptNewConnection (RAS_PORT_1 *, RAS_PORT_STATISTICS *, RAS_PARAMETERS *)
 
VOID APIENTRY RasAdminConnectionHangupNotification (RAS_PORT_1 *, RAS_PORT_STATISTICS *, RAS_PARAMETERS *)
 
DWORD APIENTRY RasAdminGetIpAddressForUser (WCHAR *, WCHAR *, IPADDR *, BOOL *)
 
VOID APIENTRY RasAdminReleaseIpAddress (WCHAR *, WCHAR *, IPADDR *)
 
DWORD APIENTRY RasAdminGetUserParms (WCHAR *, PRAS_USER_0)
 
DWORD APIENTRY RasAdminSetUserParms (WCHAR *, DWORD, PRAS_USER_0)
 

Macro Definition Documentation

◆ GATEWAY_ACTIVE

#define GATEWAY_ACTIVE   0x0008

Definition at line 43 of file rassapi.h.

◆ MEDIA_ISDN

#define MEDIA_ISDN   4

Definition at line 39 of file rassapi.h.

◆ MEDIA_RAS10_SERIAL

#define MEDIA_RAS10_SERIAL   2

Definition at line 37 of file rassapi.h.

◆ MEDIA_SERIAL

#define MEDIA_SERIAL   1

Definition at line 36 of file rassapi.h.

◆ MEDIA_UNKNOWN

#define MEDIA_UNKNOWN   0

Definition at line 35 of file rassapi.h.

◆ MEDIA_X25

#define MEDIA_X25   3

Definition at line 38 of file rassapi.h.

◆ MESSENGER_PRESENT

#define MESSENGER_PRESENT   0x0002

Definition at line 41 of file rassapi.h.

◆ PORT_MULTILINKED

#define PORT_MULTILINKED   0x0020

Definition at line 45 of file rassapi.h.

◆ PPP_CLIENT

#define PPP_CLIENT   0x0004

Definition at line 42 of file rassapi.h.

◆ RAS_ATADDRESSLEN

#define RAS_ATADDRESSLEN   32

Definition at line 48 of file rassapi.h.

◆ RAS_IPADDRESSLEN

#define RAS_IPADDRESSLEN   15

Definition at line 46 of file rassapi.h.

◆ RAS_IPXADDRESSLEN

#define RAS_IPXADDRESSLEN   22

Definition at line 47 of file rassapi.h.

◆ RAS_MODEM_HARDWARE_FAILURE

#define RAS_MODEM_HARDWARE_FAILURE   3

Definition at line 25 of file rassapi.h.

◆ RAS_MODEM_INCORRECT_RESPONSE

#define RAS_MODEM_INCORRECT_RESPONSE   4

Definition at line 26 of file rassapi.h.

◆ RAS_MODEM_NOT_RESPONDING

#define RAS_MODEM_NOT_RESPONDING   2

Definition at line 24 of file rassapi.h.

◆ RAS_MODEM_OPERATIONAL

#define RAS_MODEM_OPERATIONAL   1

Definition at line 23 of file rassapi.h.

◆ RAS_MODEM_UNKNOWN

#define RAS_MODEM_UNKNOWN   5

Definition at line 27 of file rassapi.h.

◆ RAS_PORT_AUTHENTICATED

#define RAS_PORT_AUTHENTICATED   6

Definition at line 33 of file rassapi.h.

◆ RAS_PORT_AUTHENTICATING

#define RAS_PORT_AUTHENTICATING   5

Definition at line 32 of file rassapi.h.

◆ RAS_PORT_CALLING_BACK

#define RAS_PORT_CALLING_BACK   3

Definition at line 30 of file rassapi.h.

◆ RAS_PORT_DISCONNECTED

#define RAS_PORT_DISCONNECTED   2

Definition at line 29 of file rassapi.h.

◆ RAS_PORT_INITIALIZING

#define RAS_PORT_INITIALIZING   7

Definition at line 34 of file rassapi.h.

◆ RAS_PORT_LISTENING

#define RAS_PORT_LISTENING   4

Definition at line 31 of file rassapi.h.

◆ RAS_PORT_NON_OPERATIONAL

#define RAS_PORT_NON_OPERATIONAL   1

Definition at line 28 of file rassapi.h.

◆ RASADMIN_35

#define RASADMIN_35   35

Definition at line 50 of file rassapi.h.

◆ RASADMIN_CURRENT

#define RASADMIN_CURRENT   40

Definition at line 51 of file rassapi.h.

◆ RASDOWNLEVEL

#define RASDOWNLEVEL   10

Definition at line 49 of file rassapi.h.

◆ RASPRIV_AdminSetCallback

#define RASPRIV_AdminSetCallback   0x02

Definition at line 17 of file rassapi.h.

◆ RASPRIV_CallbackType

#define RASPRIV_CallbackType
Value:
#define RASPRIV_NoCallback
Definition: rassapi.h:16
#define RASPRIV_AdminSetCallback
Definition: rassapi.h:17
#define RASPRIV_CallerSetCallback
Definition: rassapi.h:18

Definition at line 20 of file rassapi.h.

◆ RASPRIV_CallerSetCallback

#define RASPRIV_CallerSetCallback   0x04

Definition at line 18 of file rassapi.h.

◆ RASPRIV_DialinPrivilege

#define RASPRIV_DialinPrivilege   0x08

Definition at line 19 of file rassapi.h.

◆ RASPRIV_NoCallback

#define RASPRIV_NoCallback   0x01

Definition at line 16 of file rassapi.h.

◆ RASSAPI_MAX_DEVICE_NAME

#define RASSAPI_MAX_DEVICE_NAME   128

Definition at line 13 of file rassapi.h.

◆ RASSAPI_MAX_DEVICETYPE_NAME

#define RASSAPI_MAX_DEVICETYPE_NAME   16

Definition at line 14 of file rassapi.h.

◆ RASSAPI_MAX_MEDIA_NAME

#define RASSAPI_MAX_MEDIA_NAME   16

Definition at line 11 of file rassapi.h.

◆ RASSAPI_MAX_PARAM_KEY_SIZE

#define RASSAPI_MAX_PARAM_KEY_SIZE   32

Definition at line 15 of file rassapi.h.

◆ RASSAPI_MAX_PHONENUMBER_SIZE

#define RASSAPI_MAX_PHONENUMBER_SIZE   128

Definition at line 10 of file rassapi.h.

◆ RASSAPI_MAX_PORT_NAME

#define RASSAPI_MAX_PORT_NAME   16

Definition at line 12 of file rassapi.h.

◆ REMOTE_LISTEN

#define REMOTE_LISTEN   0x0010

Definition at line 44 of file rassapi.h.

◆ USER_AUTHENTICATED

#define USER_AUTHENTICATED   0x0001

Definition at line 40 of file rassapi.h.

Typedef Documentation

◆ IPADDR

typedef ULONG IPADDR

Definition at line 53 of file rassapi.h.

◆ PRAS_PORT_0

◆ PRAS_PORT_1

◆ PRAS_PORT_STATISTICS

◆ PRAS_SERVER_0

◆ PRAS_USER_0

◆ RAS_PARAMETERS

◆ RAS_PARAMS_FORMAT

◆ RAS_PARAMS_VALUE

◆ RAS_PORT_0

◆ RAS_PORT_1

◆ RAS_PORT_STATISTICS

◆ RAS_PPP_ATCP_RESULT

◆ RAS_PPP_IPCP_RESULT

◆ RAS_PPP_IPXCP_RESULT

◆ RAS_PPP_NBFCP_RESULT

◆ RAS_PPP_PROJECTION_RESULT

◆ RAS_SERVER_0

◆ RAS_USER_0

Enumeration Type Documentation

◆ _RAS_PARAMS_FORMAT

Enumerator
ParamNumber 
ParamString 

Definition at line 54 of file rassapi.h.

54  {
55  ParamNumber = 0,
56  ParamString = 1
enum _RAS_PARAMS_FORMAT RAS_PARAMS_FORMAT

Function Documentation

◆ RasAdminAcceptNewConnection()

BOOL APIENTRY RasAdminAcceptNewConnection ( RAS_PORT_1 ,
RAS_PORT_STATISTICS ,
RAS_PARAMETERS  
)

◆ RasAdminConnectionHangupNotification()

VOID APIENTRY RasAdminConnectionHangupNotification ( RAS_PORT_1 ,
RAS_PORT_STATISTICS ,
RAS_PARAMETERS  
)

◆ RasAdminFreeBuffer()

DWORD APIENTRY RasAdminFreeBuffer ( PVOID  )

◆ RasAdminGetErrorString()

DWORD APIENTRY RasAdminGetErrorString ( UINT  ,
WCHAR ,
DWORD   
)

◆ RasAdminGetIpAddressForUser()

DWORD APIENTRY RasAdminGetIpAddressForUser ( WCHAR ,
WCHAR ,
IPADDR ,
BOOL  
)

◆ RasAdminGetUserAccountServer()

DWORD APIENTRY RasAdminGetUserAccountServer ( const WCHAR ,
const WCHAR ,
LPWSTR   
)

◆ RasAdminGetUserParms()

DWORD APIENTRY RasAdminGetUserParms ( WCHAR ,
PRAS_USER_0   
)

◆ RasAdminPortClearStatistics()

DWORD APIENTRY RasAdminPortClearStatistics ( const WCHAR ,
const WCHAR  
)

◆ RasAdminPortDisconnect()

DWORD APIENTRY RasAdminPortDisconnect ( const WCHAR ,
const WCHAR  
)

◆ RasAdminPortEnum()

DWORD APIENTRY RasAdminPortEnum ( const WCHAR ,
PRAS_PORT_0 ,
WORD  
)

◆ RasAdminPortGetInfo()

DWORD APIENTRY RasAdminPortGetInfo ( const WCHAR ,
const WCHAR ,
RAS_PORT_1 ,
RAS_PORT_STATISTICS ,
RAS_PARAMETERS **   
)

◆ RasAdminReleaseIpAddress()

VOID APIENTRY RasAdminReleaseIpAddress ( WCHAR ,
WCHAR ,
IPADDR  
)

◆ RasAdminServerGetInfo()

DWORD APIENTRY RasAdminServerGetInfo ( const WCHAR ,
PRAS_SERVER_0   
)

◆ RasAdminSetUserParms()

DWORD APIENTRY RasAdminSetUserParms ( WCHAR ,
DWORD  ,
PRAS_USER_0   
)

◆ RasAdminUserGetInfo()

DWORD APIENTRY RasAdminUserGetInfo ( const WCHAR ,
const WCHAR ,
PRAS_USER_0   
)

◆ RasAdminUserSetInfo()

DWORD APIENTRY RasAdminUserSetInfo ( const WCHAR ,
const WCHAR ,
const  PRAS_USER_0 
)