10#define RASSAPI_MAX_PHONENUMBER_SIZE 128
11#define RASSAPI_MAX_MEDIA_NAME 16
12#define RASSAPI_MAX_PORT_NAME 16
13#define RASSAPI_MAX_DEVICE_NAME 128
14#define RASSAPI_MAX_DEVICETYPE_NAME 16
15#define RASSAPI_MAX_PARAM_KEY_SIZE 32
16#define RASPRIV_NoCallback 0x01
17#define RASPRIV_AdminSetCallback 0x02
18#define RASPRIV_CallerSetCallback 0x04
19#define RASPRIV_DialinPrivilege 0x08
20#define RASPRIV_CallbackType (RASPRIV_AdminSetCallback \
21 | RASPRIV_CallerSetCallback \
23#define RAS_MODEM_OPERATIONAL 1
24#define RAS_MODEM_NOT_RESPONDING 2
25#define RAS_MODEM_HARDWARE_FAILURE 3
26#define RAS_MODEM_INCORRECT_RESPONSE 4
27#define RAS_MODEM_UNKNOWN 5
28#define RAS_PORT_NON_OPERATIONAL 1
29#define RAS_PORT_DISCONNECTED 2
30#define RAS_PORT_CALLING_BACK 3
31#define RAS_PORT_LISTENING 4
32#define RAS_PORT_AUTHENTICATING 5
33#define RAS_PORT_AUTHENTICATED 6
34#define RAS_PORT_INITIALIZING 7
35#define MEDIA_UNKNOWN 0
37#define MEDIA_RAS10_SERIAL 2
40#define USER_AUTHENTICATED 0x0001
41#define MESSENGER_PRESENT 0x0002
42#define PPP_CLIENT 0x0004
43#define GATEWAY_ACTIVE 0x0008
44#define REMOTE_LISTEN 0x0010
45#define PORT_MULTILINKED 0x0020
46#define RAS_IPADDRESSLEN 15
47#define RAS_IPXADDRESSLEN 22
48#define RAS_ATADDRESSLEN 32
49#define RASDOWNLEVEL 10
51#define RASADMIN_CURRENT 40
DWORD APIENTRY RasAdminGetErrorString(UINT, WCHAR *, DWORD)
DWORD APIENTRY RasAdminUserGetInfo(const WCHAR *, const WCHAR *, PRAS_USER_0)
DWORD APIENTRY RasAdminServerGetInfo(const WCHAR *, PRAS_SERVER_0)
struct _RAS_PORT_1 * PRAS_PORT_1
#define RASSAPI_MAX_DEVICETYPE_NAME
DWORD APIENTRY RasAdminPortClearStatistics(const WCHAR *, const WCHAR *)
struct _RAS_PPP_NBFCP_RESULT RAS_PPP_NBFCP_RESULT
struct _RAS_PORT_STATISTICS * PRAS_PORT_STATISTICS
struct _RAS_PORT_STATISTICS RAS_PORT_STATISTICS
DWORD APIENTRY RasAdminGetUserAccountServer(const WCHAR *, const WCHAR *, LPWSTR)
#define RASSAPI_MAX_PORT_NAME
struct _RAS_PORT_0 * PRAS_PORT_0
DWORD APIENTRY RasAdminPortEnum(const WCHAR *, PRAS_PORT_0 *, WORD *)
struct _RAS_PORT_1 RAS_PORT_1
BOOL APIENTRY RasAdminAcceptNewConnection(RAS_PORT_1 *, RAS_PORT_STATISTICS *, RAS_PARAMETERS *)
DWORD APIENTRY RasAdminPortDisconnect(const WCHAR *, const WCHAR *)
struct _RAS_SERVER_0 * PRAS_SERVER_0
#define RASSAPI_MAX_PARAM_KEY_SIZE
struct _RAS_USER_0 * PRAS_USER_0
struct _RAS_PPP_PROJECTION_RESULT RAS_PPP_PROJECTION_RESULT
VOID APIENTRY RasAdminReleaseIpAddress(WCHAR *, WCHAR *, IPADDR *)
#define RASSAPI_MAX_PHONENUMBER_SIZE
struct _RAS_PPP_IPXCP_RESULT RAS_PPP_IPXCP_RESULT
VOID APIENTRY RasAdminConnectionHangupNotification(RAS_PORT_1 *, RAS_PORT_STATISTICS *, RAS_PARAMETERS *)
struct _RAS_PPP_IPCP_RESULT RAS_PPP_IPCP_RESULT
DWORD APIENTRY RasAdminSetUserParms(WCHAR *, DWORD, PRAS_USER_0)
DWORD APIENTRY RasAdminPortGetInfo(const WCHAR *, const WCHAR *, RAS_PORT_1 *, RAS_PORT_STATISTICS *, RAS_PARAMETERS **)
DWORD APIENTRY RasAdminUserSetInfo(const WCHAR *, const WCHAR *, const PRAS_USER_0)
DWORD APIENTRY RasAdminGetUserParms(WCHAR *, PRAS_USER_0)
#define RASSAPI_MAX_MEDIA_NAME
enum _RAS_PARAMS_FORMAT RAS_PARAMS_FORMAT
#define RAS_IPXADDRESSLEN
DWORD APIENTRY RasAdminFreeBuffer(PVOID)
struct _RAS_PORT_0 RAS_PORT_0
#define RASSAPI_MAX_DEVICE_NAME
DWORD APIENTRY RasAdminGetIpAddressForUser(WCHAR *, WCHAR *, IPADDR *, BOOL *)
struct _RAS_USER_0 RAS_USER_0
struct _RAS_PPP_ATCP_RESULT RAS_PPP_ATCP_RESULT
struct _RAS_SERVER_0 RAS_SERVER_0
CHAR P_Key[RASSAPI_MAX_PARAM_KEY_SIZE]
WCHAR wszUserName[UNLEN+1]
WCHAR wszLogonDomain[DNLEN+1]
WCHAR wszDeviceName[RASSAPI_MAX_DEVICE_NAME]
WCHAR wszDeviceType[RASSAPI_MAX_DEVICETYPE_NAME]
WCHAR wszComputer[NETBIOS_NAME_LEN]
WCHAR wszMediaName[RASSAPI_MAX_MEDIA_NAME]
WCHAR wszPortName[RASSAPI_MAX_PORT_NAME]
RAS_PPP_PROJECTION_RESULT ProjResult
DWORD dwPortHardwareOverrunErr
DWORD dwPortBytesRcvedCompressed
DWORD dwPortBytesXmitedUncompressed
DWORD dwBytesRcvedCompressed
DWORD dwBytesXmitedUncompressed
DWORD dwBytesRcvedUncompressed
DWORD dwPortBytesXmitedCompressed
DWORD dwPortBufferOverrunErr
DWORD dwHardwareOverrunErr
DWORD dwPortBytesRcvedUncompressed
DWORD dwBytesXmitedCompressed
WCHAR wszAddress[RAS_ATADDRESSLEN+1]
WCHAR wszAddress[RAS_IPADDRESSLEN+1]
WCHAR wszAddress[RAS_IPXADDRESSLEN+1]
CHAR szName[NETBIOS_NAME_LEN+1]
WCHAR wszWksta[NETBIOS_NAME_LEN+1]
WCHAR szPhoneNumber[RASSAPI_MAX_PHONENUMBER_SIZE+1]
struct RAS_PARAMS_VALUE::@3214 String