22#define RAS_MaxDeviceType 16
23#define RAS_MaxPhoneNumber 128
24#define RAS_MaxIpAddress 15
25#define RAS_MaxIpxAddress 21
26#define RAS_MaxEntryName 256
27#define RAS_MaxDeviceName 128
28#define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
29#define RAS_MaxAreaCode 10
30#define RAS_MaxPadType 32
31#define RAS_MaxX25Address 200
32#define RAS_MaxFacilities 200
33#define RAS_MaxUserData 200
34#define RAS_MaxReplyMessage 1024
35#define RAS_MaxDnsSuffix 256
37#define RASCF_AllUsers 0x00000001
38#define RASCF_GlobalCreds 0x00000002
40#define RDEOPT_UsePrefixSuffix 0x00000001
41#define RDEOPT_PausedStates 0x00000002
42#define RDEOPT_IgnoreModemSpeaker 0x00000004
43#define RDEOPT_SetModemSpeaker 0x00000008
44#define RDEOPT_IgnoreSoftwareCompression 0x00000010
45#define RDEOPT_SetSoftwareCompression 0x00000020
46#define RDEOPT_DisableConnectedUI 0x00000040
47#define RDEOPT_DisableReconnectUI 0x00000080
48#define RDEOPT_DisableReconnect 0x00000100
49#define RDEOPT_NoUser 0x00000200
50#define RDEOPT_PauseOnScript 0x00000400
51#define RDEOPT_Router 0x00000800
52#define REN_User 0x00000000
53#define REN_AllUsers 0x00000001
59#define RASDIALEVENT "RasDialEvent"
60#define WM_RASDIALEVENT 0xCCCD
61#define RASEO_UseCountryAndAreaCodes 0x00000001
62#define RASEO_SpecificIpAddr 0x00000002
63#define RASEO_SpecificNameServers 0x00000004
64#define RASEO_IpHeaderCompression 0x00000008
65#define RASEO_RemoteDefaultGateway 0x00000010
66#define RASEO_DisableLcpExtensions 0x00000020
67#define RASEO_TerminalBeforeDial 0x00000040
68#define RASEO_TerminalAfterDial 0x00000080
69#define RASEO_ModemLights 0x00000100
70#define RASEO_SwCompression 0x00000200
71#define RASEO_RequireEncryptedPw 0x00000400
72#define RASEO_RequireMsEncryptedPw 0x00000800
73#define RASEO_RequireDataEncryption 0x00001000
74#define RASEO_NetworkLogon 0x00002000
75#define RASEO_UseLogonCredentials 0x00004000
76#define RASEO_PromoteAlternates 0x00008000
77#define RASNP_NetBEUI 0x00000001
78#define RASNP_Ipx 0x00000002
79#define RASNP_Ip 0x00000004
80#define RASFP_Ppp 0x00000001
81#define RASFP_Slip 0x00000002
82#define RASFP_Ras 0x00000004
83#define RASDT_Direct TEXT("direct")
84#define RASDT_Modem TEXT("modem")
85#define RASDT_Isdn TEXT("isdn")
86#define RASDT_X25 TEXT("x25")
87#define RASDT_Vpn TEXT("vpn")
88#define RASDT_Pad TEXT("pad")
89#define RASDT_Generic TEXT("GENERIC")
90#define RASDT_Serial TEXT("SERIAL")
91#define RASDT_FrameRelay TEXT("FRAMERELAY")
92#define RASDT_Atm TEXT("ATM")
93#define RASDT_Sonet TEXT("SONET")
94#define RASDT_SW56 TEXT("SW56")
95#define RASDT_Irda TEXT("IRDA")
96#define RASDT_Parallel TEXT("PARALLEL")
98#define RASDT_PPPoE TEXT("PPPoE")
102#define RASET_Direct 3
103#define RASET_Internet 4
105#define RASET_Broadband 5
108#define RASEO_SecureLocalFiles 0x00010000
109#define RASCN_Connection 0x00000001
110#define RASCN_Disconnection 0x00000002
111#define RASCN_BandwidthAdded 0x00000004
112#define RASCN_BandwidthRemoved 0x00000008
113#define RASEDM_DialAll 1
114#define RASEDM_DialAsNeeded 2
115#define RASIDS_Disabled 0xffffffff
116#define RASIDS_UseGlobalValue 0
117#define RASADFLG_PositionDlg 0x00000001
118#define RASCM_UserName 0x00000001
119#define RASCM_Password 0x00000002
120#define RASCM_Domain 0x00000004
121#define RASADP_DisableConnectionQuery 0
122#define RASADP_LoginSessionDisable 1
123#define RASADP_SavedAddressesLimit 2
124#define RASADP_FailedConnectionTimeout 3
125#define RASADP_ConnectionQueryTimeout 4
128#define RDEOPT_CustomDial 0x00001000
130#define RDEOPT_UseCustomScripting 0x00002000
131#define RASCM_DefaultCreds 0x00000008
132#define RASCM_PreSharedKey 0x00000010
133#define RASCM_ServerPreSharedKey 0x00000020
134#define RASCM_DDMPreSharedKey 0x00000040
136#define RASLCPAP_PAP 0xC023
137#define RASLCPAP_SPAP 0xC027
138#define RASLCPAP_CHAP 0xC223
139#define RASLCPAP_EAP 0xC227
140#define RASLCPAD_CHAP_MD5 0x05
141#define RASLCPAD_CHAP_MS 0x80
142#define RASLCPAD_CHAP_MSV2 0x81
143#define RASLCPO_PFC 0x00000001
144#define RASLCPO_ACFC 0x00000002
145#define RASLCPO_SSHF 0x00000004
146#define RASLCPO_DES_56 0x00000008
147#define RASLCPO_3_DES 0x00000010
148#define RASCCPCA_MPPC 0x00000006
149#define RASCCPCA_STAC 0x00000005
150#define RASCCPO_Compression 0x00000001
151#define RASCCPO_HistoryLess 0x00000002
152#define RASCCPO_Encryption56bit 0x00000010
153#define RASCCPO_Encryption40bit 0x00000020
154#define RASCCPO_Encryption128bit 0x00000040
155#define RASEO_RequireEAP 0x00020000
156#define RASEO_RequirePAP 0x00040000
157#define RASEO_RequireSPAP 0x00080000
158#define RASEO_Custom 0x00100000
159#define RASEO_PreviewPhoneNumber 0x00200000
160#define RASEO_SharedPhoneNumbers 0x00800000
161#define RASEO_PreviewUserPw 0x01000000
162#define RASEO_PreviewDomain 0x02000000
163#define RASEO_ShowDialingProgress 0x04000000
164#define RASEO_RequireCHAP 0x08000000
165#define RASEO_RequireMsCHAP 0x10000000
166#define RASEO_RequireMsCHAP2 0x20000000
167#define RASEO_RequireW95MSCHAP 0x40000000
168#define RASEO_CustomScript 0x80000000
169#define RASIPO_VJ 0x00000001
170#define RCD_SingleUser 0
171#define RCD_AllUsers 0x00000001
172#define RCD_Eap 0x00000002
173#define RASEAPF_NonInteractive 0x00000002
174#define RASEAPF_Logon 0x00000004
175#define RASEAPF_Preview 0x00000008
180#define ET_RequireMax 2
184#define RASEO2_SecureFileAndPrint 0x00000001
185#define RASEO2_SecureClientForMSNet 0x00000002
186#define RASEO2_DontNegotiateMultilink 0x00000004
187#define RASEO2_DontUseRasCredentials 0x00000008
188#define RASEO2_UsePreSharedKey 0x00000010
189#define RASEO2_Internet 0x00000020
190#define RASEO2_DisableNbtOverIP 0x00000040
191#define RASEO2_UseGlobalDeviceSettings 0x00000080
192#define RASEO2_ReconnectIfDropped 0x00000100
193#define RASEO2_SharePhoneNumbers 0x00000200
196#define RASCS_PAUSED 0x1000
197#define RASCS_DONE 0x2000
240 RASP_PppCcp = 0x80FD,
344typedef struct tagRASEAPINFO {
345 DWORD dwSizeofEapInfo;
357 RASEAPINFO RasEapInfo;
427#ifndef WINNT35COMPATIBLE
432 DWORD dwServerOptions;
440#ifndef WINNT35COMPATIBLE
445 DWORD dwServerOptions;
454 DWORD dwAuthenticationProtocol;
455 DWORD dwAuthenticationData;
457 DWORD dwServerAuthenticationProtocol;
458 DWORD dwServerAuthenticationData;
459 DWORD dwServerEapTypeId;
461 DWORD dwTerminateReason;
462 DWORD dwServerTerminateReason;
465 DWORD dwServerOptions;
474 DWORD dwAuthenticationProtocol;
475 DWORD dwAuthenticationData;
477 DWORD dwServerAuthenticationProtocol;
478 DWORD dwServerAuthenticationData;
479 DWORD dwServerEapTypeId;
481 DWORD dwTerminateReason;
482 DWORD dwServerTerminateReason;
485 DWORD dwServerOptions;
563 DWORD dwDialExtraPercent;
564 DWORD dwDialExtraSampleSeconds;
565 DWORD dwHangUpExtraPercent;
566 DWORD dwHangUpExtraSampleSeconds;
567 DWORD dwIdleDisconnectSeconds;
571 DWORD dwEncryptionType;
572 DWORD dwCustomAuthKey;
581 DWORD dwTcpWindowSize;
620 DWORD dwDialExtraPercent;
621 DWORD dwDialExtraSampleSeconds;
622 DWORD dwHangUpExtraPercent;
623 DWORD dwHangUpExtraSampleSeconds;
624 DWORD dwIdleDisconnectSeconds;
628 DWORD dwEncryptionType;
629 DWORD dwCustomAuthKey;
638 DWORD dwTcpWindowSize;
648typedef struct tagRASADPARAMS {
654} RASADPARAMS, *LPRASADPARAMS;
656typedef struct tagRASSUBENTRYW {
662 DWORD dwAlternateOffset;
663} RASSUBENTRYW, *LPRASSUBENTRYW;
665typedef struct tagRASSUBENTRYA {
671 DWORD dwAlternateOffset;
672} RASSUBENTRYA, *LPRASSUBENTRYA;
674typedef struct tagRASCREDENTIALSW {
680} RASCREDENTIALSW, *LPRASCREDENTIALSW;
682typedef struct tagRASCREDENTIALSA {
688} RASCREDENTIALSA, *LPRASCREDENTIALSA;
690typedef struct tagRASAUTODIALENTRYW {
693 DWORD dwDialingLocation;
695} RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW;
697typedef struct tagRASAUTODIALENTRYA {
700 DWORD dwDialingLocation;
702} RASAUTODIALENTRYA, *LPRASAUTODIALENTRYA;
706typedef struct tagRASPPPCCP {
709 DWORD dwCompressionAlgorithm;
711 DWORD dwServerCompressionAlgorithm;
712 DWORD dwServerOptions;
713} RASPPPCCP, *LPRASPPPCCP;
715typedef struct tagRASEAPUSERIDENTITYW {
717 DWORD dwSizeofEapInfo;
719} RASEAPUSERIDENTITYW, *LPRASEAPUSERIDENTITYW;
721typedef struct tagRASEAPUSERIDENTITYA {
723 DWORD dwSizeofEapInfo;
725} RASEAPUSERIDENTITYA, *LPRASEAPUSERIDENTITYA;
727typedef struct tagRAS_STATS {
731 DWORD dwFramesXmited;
735 DWORD dwAlignmentErr;
736 DWORD dwHardwareOverrunErr;
738 DWORD dwBufferOverrunErr;
739 DWORD dwCompressionRatioIn;
740 DWORD dwCompressionRatioOut;
742 DWORD dwConnectDuration;
743} RAS_STATS, *PRAS_STATS;
763typedef RASSUBENTRYW RASSUBENTRY, *LPRASSUBENTRY;
764typedef RASCREDENTIALSW RASCREDENTIALS, *LPRASCREDENTIALS;
765typedef RASAUTODIALENTRYW RASAUTODIALENTRY, *LPRASAUTODIALENTRY;
769typedef RASEAPUSERIDENTITYW RASEAPUSERIDENTITY, *LPRASEAPUSERIDENTITY;
775typedef DWORD (
WINAPI *RasCustomScriptExecuteFn) (
HANDLE hPort,
LPCWSTR lpszPhonebook,
LPCWSTR lpszEntryName, PFNRASGETBUFFER pfnRasGetBuffer, PFNRASFREEBUFFER pfnRasFreeBuffer, PFNRASSENDBUFFER pfnRasSendBuffer, PFNRASRECEIVEBUFFER pfnRasReceiveBuffer, PFNRASRETRIEVEBUFFER pfnRasRetrieveBuffer,
HWND hWnd,
RASDIALPARAMS *pRasDialParams,
PVOID pvReserved);
779typedef struct tagRASCOMMSETTINGS
788typedef struct tagRASCUSTOMSCRIPTEXTENSIONS
791 PFNRASSETCOMMSETTINGS pfnRasSetCommSettings;
792} RASCUSTOMSCRIPTEXTENSIONS;
810typedef RASSUBENTRYA RASSUBENTRY, *LPRASSUBENTRY;
811typedef RASCREDENTIALSA RASCREDENTIALS, *LPRASCREDENTIALS;
812typedef RASAUTODIALENTRYA RASAUTODIALENTRY, *LPRASAUTODIALENTRY;
815typedef RASEAPUSERIDENTITYA RASEAPUSERIDENTITY, *LPRASEAPUSERIDENTITY;
904typedef DWORD (
WINAPI * RasCustomHangUpFn) (HRASCONN);
924VOID APIENTRY RasFreeEapUserIdentityW (LPRASEAPUSERIDENTITYW);
925VOID APIENTRY RasFreeEapUserIdentityA (LPRASEAPUSERIDENTITYA);
935#define RasDial RasDialW
936#define RasEnumConnections RasEnumConnectionsW
937#define RasEnumEntries RasEnumEntriesW
938#define RasGetConnectStatus RasGetConnectStatusW
939#define RasGetErrorString RasGetErrorStringW
940#define RasHangUp RasHangUpW
941#define RasGetProjectionInfo RasGetProjectionInfoW
942#define RasCreatePhonebookEntry RasCreatePhonebookEntryW
943#define RasEditPhonebookEntry RasEditPhonebookEntryW
944#define RasSetEntryDialParams RasSetEntryDialParamsW
945#define RasGetEntryDialParams RasGetEntryDialParamsW
946#define RasEnumDevices RasEnumDevicesW
947#define RasGetCountryInfo RasGetCountryInfoW
948#define RasGetEntryProperties RasGetEntryPropertiesW
949#define RasSetEntryProperties RasSetEntryPropertiesW
950#define RasRenameEntry RasRenameEntryW
951#define RasDeleteEntry RasDeleteEntryW
952#define RasValidateEntryName RasValidateEntryNameW
954#define RASADFUNC RASADFUNCW
955#define RasGetSubEntryHandle RasGetSubEntryHandleW
956#define RasConnectionNotification RasConnectionNotificationW
957#define RasGetSubEntryProperties RasGetSubEntryPropertiesW
958#define RasSetSubEntryProperties RasSetSubEntryPropertiesW
959#define RasGetCredentials RasGetCredentialsW
960#define RasSetCredentials RasSetCredentialsW
961#define RasGetAutodialAddress RasGetAutodialAddressW
962#define RasSetAutodialAddress RasSetAutodialAddressW
963#define RasEnumAutodialAddresses RasEnumAutodialAddressesW
964#define RasGetAutodialEnable RasGetAutodialEnableW
965#define RasSetAutodialEnable RasSetAutodialEnableW
966#define RasGetAutodialParam RasGetAutodialParamW
967#define RasSetAutodialParam RasSetAutodialParamW
970#define RasGetEapUserData RasGetEapUserDataW
971#define RasSetEapUserData RasSetEapUserDataW
972#define RasGetCustomAuthData RasGetCustomAuthDataW
973#define RasSetCustomAuthData RasSetCustomAuthDataW
974#define RasGetEapUserIdentity RasGetEapUserIdentityW
975#define RasFreeEapUserIdentity RasFreeEapUserIdentityW
978#define RasDeleteSubEntry RasDeleteSubEntryW
982#define RasDial RasDialA
983#define RasEnumConnections RasEnumConnectionsA
984#define RasEnumEntries RasEnumEntriesA
985#define RasGetConnectStatus RasGetConnectStatusA
986#define RasGetErrorString RasGetErrorStringA
987#define RasHangUp RasHangUpA
988#define RasGetProjectionInfo RasGetProjectionInfoA
989#define RasCreatePhonebookEntry RasCreatePhonebookEntryA
990#define RasEditPhonebookEntry RasEditPhonebookEntryA
991#define RasSetEntryDialParams RasSetEntryDialParamsA
992#define RasGetEntryDialParams RasGetEntryDialParamsA
993#define RasEnumDevices RasEnumDevicesA
994#define RasGetCountryInfo RasGetCountryInfoA
995#define RasGetEntryProperties RasGetEntryPropertiesA
996#define RasSetEntryProperties RasSetEntryPropertiesA
997#define RasRenameEntry RasRenameEntryA
998#define RasDeleteEntry RasDeleteEntryA
999#define RasValidateEntryName RasValidateEntryNameA
1001#if (WINVER >= 0x401)
1002#define RASADFUNC RASADFUNCA
1003#define RasGetSubEntryHandle RasGetSubEntryHandleA
1004#define RasConnectionNotification RasConnectionNotificationA
1005#define RasGetSubEntryProperties RasGetSubEntryPropertiesA
1006#define RasSetSubEntryProperties RasSetSubEntryPropertiesA
1007#define RasGetCredentials RasGetCredentialsA
1008#define RasSetCredentials RasSetCredentialsA
1009#define RasGetAutodialAddress RasGetAutodialAddressA
1010#define RasSetAutodialAddress RasSetAutodialAddressA
1011#define RasEnumAutodialAddressesRasEnumAutodialAddressesA
1012#define RasGetAutodialEnable RasGetAutodialEnableA
1013#define RasSetAutodialEnable RasSetAutodialEnableA
1014#define RasGetAutodialParam RasGetAutodialParamA
1015#define RasSetAutodialParam RasSetAutodialParamA
1018#if (WINVER >= 0x500)
1019#define RasGetEapUserData RasGetEapUserDataA
1020#define RasSetEapUserData RasSetEapUserDataA
1021#define RasGetCustomAuthData RasGetCustomAuthDataA
1022#define RasSetCustomAuthData RasSetCustomAuthDataA
1023#define RasGetEapUserIdentity RasGetEapUserIdentityA
1024#define RasFreeEapUserIdentity RasFreeEapUserIdentityA
1026#if (WINVER >= 0x501)
1027#define RasDeleteSubEntry RasDeleteSubEntryA
static const WCHAR szDeviceName[]
DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c, LPDWORD d, LPDWORD e)
DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b)
DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry, DWORD dwSubEntry, LPRASSUBENTRYW lpRasSubEntry, DWORD dwcbRasSubEntry, LPBYTE lpbDeviceConfig, DWORD dwcbDeviceConfig)
DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b)
DWORD WINAPI RasSetSubEntryPropertiesA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, DWORD dwSubEntry, LPRASSUBENTRYA lpRasSubEntry, DWORD dwcbRasSubEntry, LPBYTE lpbDeviceConfig, DWORD dwcbDeviceConfig)
DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c)
DWORD WINAPI RasSetAutodialEnableW(DWORD dwDialingLocation, BOOL fEnabled)
DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c, DWORD d, DWORD e)
DWORD WINAPI RasSetCustomAuthDataW(const WCHAR *phonebook, const WCHAR *entry, BYTE *authdata, DWORD size)
DWORD WINAPI RasSetAutodialEnableA(DWORD dwDialingLocation, BOOL fEnabled)
DWORD WINAPI RasGetAutodialParamW(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue)
DWORD WINAPI RasGetLinkStatistics(HRASCONN connection, DWORD entry, RAS_STATS *statistics)
DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c)
DWORD WINAPI RasGetConnectionStatistics(HRASCONN connection, RAS_STATS *statistics)
DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c, LPDWORD d, LPDWORD e)
DWORD WINAPI RasConnectionNotificationW(HRASCONN hrasconn, HANDLE hEvent, DWORD dwFlags)
DWORD WINAPI RasConnectionNotificationA(HRASCONN hrasconn, HANDLE hEvent, DWORD dwFlags)
DWORD WINAPI RasEnumAutodialAddressesW(LPWSTR *a, LPDWORD b, LPDWORD c)
DWORD WINAPI RasGetAutodialParamA(DWORD dwKey, LPVOID lpvValue, LPDWORD lpdwcbValue)
DWORD WINAPI RasSetCustomAuthDataA(const char *phonebook, const char *entry, BYTE *authdata, DWORD size)
DWORD WINAPI RasEnumAutodialAddressesA(LPSTR *a, LPDWORD b, LPDWORD c)
DWORD WINAPI RasDeleteSubEntryA(LPCSTR lpszPhonebook, LPCSTR lpszEntry, DWORD dwSubEntryId)
DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c, DWORD d, DWORD e)
DWORD WINAPI RasDeleteSubEntryW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry, DWORD dwSubEntryId)
#define DECLARE_HANDLE(name)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static LPCSTR DWORD void * pvReserved
struct tagRASDIALPARAMSA * LPRASDIALPARAMSA
@ RASCS_CallbackSetByCaller
@ RASCS_SubEntryConnected
@ RASCS_PrepareForCallback
@ RASCS_AllDevicesConnected
@ RASCS_WaitForModemReset
@ RASCS_SubEntryDisconnected
@ RASCS_AuthChangePassword
@ RASCS_RetryAuthentication
@ RASCS_StartAuthentication
DWORD APIENTRY RasCreatePhonebookEntryW(HWND, LPCWSTR)
struct tagRASDEVINFOW RASDEVINFOW
struct tagRASCONNW RASCONNW
DWORD APIENTRY RasDeleteEntryW(LPCWSTR, LPCWSTR)
enum tagRASPROJECTION RASPROJECTION
#define RAS_MaxCallbackNumber
struct tagRASAMBW RASAMBW
#define RAS_MaxIpxAddress
VOID(WINAPI * RASDIALFUNC)(UINT, RASCONNSTATE, DWORD)
struct tagRASCONNSTATUSA * LPRASCONNSTATUSA
DWORD APIENTRY RasSetEntryPropertiesW(LPCWSTR, LPCWSTR, LPRASENTRYW, DWORD, LPBYTE, DWORD)
DWORD APIENTRY RasRenameEntryA(LPCSTR, LPCSTR, LPCSTR)
struct tagRASDIALPARAMSA RASDIALPARAMSA
struct tagRASAMBA * LPRASAMBA
RASCTRYINFO * LPRASCTRYINFOW
struct tagRASPPPNBFA RASPPPNBFA
BOOL(WINAPI * ORASADFUNC)(HWND, LPSTR, DWORD, LPDWORD)
struct tagRASIPXW RASPPPIPXW
DWORD APIENTRY RasDialW(LPRASDIALEXTENSIONS, LPCWSTR, LPRASDIALPARAMSW, DWORD, LPVOID, LPHRASCONN)
struct tagRASPPPNBFW RASPPPNBFW
DWORD APIENTRY RasEnumEntriesW(LPCWSTR, LPCWSTR, LPRASENTRYNAMEW, LPDWORD, LPDWORD)
struct tagRASPPPNBFW * LPRASPPPNBFW
struct tagRASIPXW * LPRASPPPIPXW
struct tagRASIPADDR RASIPADDR
DWORD APIENTRY RasDialA(LPRASDIALEXTENSIONS, LPCSTR, LPRASDIALPARAMSA, DWORD, LPVOID, LPHRASCONN)
DWORD APIENTRY RasGetProjectionInfoA(HRASCONN, RASPROJECTION, LPVOID, LPDWORD)
enum tagRASCONNSTATE RASCONNSTATE
DWORD APIENTRY RasCreatePhonebookEntryA(HWND, LPCSTR)
DWORD APIENTRY RasGetErrorStringA(UINT, LPSTR, DWORD)
DWORD APIENTRY RasGetErrorStringW(UINT, LPWSTR, DWORD)
DWORD APIENTRY RasGetConnectStatusW(HRASCONN, LPRASCONNSTATUSW)
struct tagRASDEVINFOA * LPRASDEVINFOA
struct tagRASCONNSTATUSA RASCONNSTATUSA
DWORD APIENTRY RasEditPhonebookEntryW(HWND, LPCWSTR, LPCWSTR)
struct tagRASSLIPW * LPRASSLIPW
DWORD APIENTRY RasHangUpW(HRASCONN)
struct tagRASAMBW * LPRASAMBW
DWORD APIENTRY RasEnumConnectionsA(LPRASCONNA, LPDWORD, LPDWORD)
DWORD APIENTRY RasEditPhonebookEntryA(HWND, LPCSTR, LPCSTR)
DWORD APIENTRY RasValidateEntryNameW(LPCWSTR, LPCWSTR)
struct tagRASPPPLCPW * LPRASPPPLCPW
struct tagRASCTRYINFO RASCTRYINFO
#define RAS_MaxReplyMessage
#define RAS_MaxPhoneNumber
VOID(WINAPI * RASDIALFUNC1)(HRASCONN, UINT, RASCONNSTATE, DWORD, DWORD)
DWORD APIENTRY RasGetCountryInfoA(LPRASCTRYINFOA, LPDWORD)
struct tagRASSLIPA RASSLIPA
DWORD APIENTRY RasRenameEntryW(LPCWSTR, LPCWSTR, LPCWSTR)
enum tagRASPROJECTION * LPRASPROJECTION
RASDEVINFOA * LPRASDEVINFO
struct tagRASAMBA RASAMBA
DWORD APIENTRY RasDeleteEntryA(LPCSTR, LPCSTR)
struct tagRASPPPIPW * LPRASPPPIPW
RASCTRYINFO * LPRASCTRYINFOA
DWORD APIENTRY RasSetEntryPropertiesA(LPCSTR, LPCSTR, LPRASENTRYA, DWORD, LPBYTE, DWORD)
DWORD APIENTRY RasGetEntryDialParamsA(LPCSTR, LPRASDIALPARAMSA, LPBOOL)
struct tagRASENTRYA * LPRASENTRYA
RASDIALPARAMSA RASDIALPARAMS
struct tagRASCTRYINFO * LPRASCTRYINFO
struct tagRASPPPNBFA * LPRASPPPNBFA
struct tagRASCONNA * LPRASCONNA
struct tagRASPPPIPA * LPRASPPPIPA
#define RAS_MaxFacilities
RASENTRYNAMEA RASENTRYNAME
struct tagRASENTRYNAMEA RASENTRYNAMEA
struct tagRASDEVINFOA RASDEVINFOA
DWORD APIENTRY RasGetEntryPropertiesA(LPCSTR, LPCSTR, LPRASENTRYA, LPDWORD, LPBYTE, LPDWORD)
struct tagRASCONNSTATUSW * LPRASCONNSTATUSW
struct tagRASENTRYNAMEW * LPRASENTRYNAMEW
struct tagRASENTRYNAMEW RASENTRYNAMEW
RASCONNSTATUSA * LPRASCONNSTATUS
struct tagRASDEVINFOW * LPRASDEVINFOW
struct tagRASPPPLCPA RASPPPLCPA
RASENTRYNAMEA * LPRASENTRYNAME
RASCONNSTATUSA RASCONNSTATUS
DWORD APIENTRY RasSetEntryDialParamsA(LPCSTR, LPRASDIALPARAMSA, BOOL)
struct tagRASSLIPW RASSLIPW
#define RAS_MaxDeviceName
struct tagRASCONNW * LPRASCONNW
struct tagRASENTRYW RASENTRYW
unsigned long * PULONG_PTR
struct tagRASPPPLCPA * LPRASPPPLCPA
DWORD(WINAPI * RASDIALFUNC2)(ULONG_PTR, DWORD, HRASCONN, UINT, RASCONNSTATE, DWORD, DWORD)
DWORD APIENTRY RasGetCountryInfoW(LPRASCTRYINFOW, LPDWORD)
RASDIALPARAMSA * LPRASDIALPARAMS
DWORD APIENTRY RasValidateEntryNameA(LPCSTR, LPCSTR)
struct tagRASDIALPARAMSW RASDIALPARAMSW
struct tagRASDIALEXTENSIONS * LPRASDIALEXTENSIONS
DWORD APIENTRY RasGetEntryPropertiesW(LPCWSTR, LPCWSTR, LPRASENTRYW, LPDWORD, LPBYTE, LPDWORD)
DWORD APIENTRY RasEnumConnectionsW(LPRASCONNW, LPDWORD, LPDWORD)
struct tagRASCONNSTATUSW RASCONNSTATUSW
enum tagRASCONNSTATE * LPRASCONNSTATE
struct tagRASENTRYNAMEA * LPRASENTRYNAMEA
struct tagRASENTRYW * LPRASENTRYW
struct tagRASIPXA * LPRASPPPIPXA
struct tagRASPPPLCPW RASPPPLCPW
DWORD APIENTRY RasEnumDevicesA(LPRASDEVINFOA, LPDWORD, LPDWORD)
struct tagRASDIALEXTENSIONS RASDIALEXTENSIONS
DWORD APIENTRY RasEnumDevicesW(LPRASDEVINFOW, LPDWORD, LPDWORD)
DWORD APIENTRY RasHangUpA(HRASCONN)
struct tagRASIPXA RASPPPIPXA
DWORD APIENTRY RasGetEntryDialParamsW(LPCWSTR, LPRASDIALPARAMSW, LPBOOL)
DWORD APIENTRY RasSetEntryDialParamsW(LPCWSTR, LPRASDIALPARAMSW, BOOL)
struct tagRASPPPIPW RASPPPIPW
#define RAS_MaxX25Address
DWORD APIENTRY RasGetProjectionInfoW(HRASCONN, RASPROJECTION, LPVOID, LPDWORD)
struct tagRASCONNA RASCONNA
DWORD APIENTRY RasGetConnectStatusA(HRASCONN, LPRASCONNSTATUSA)
#define RAS_MaxDeviceType
DWORD APIENTRY RasEnumEntriesA(LPCSTR, LPCSTR, LPRASENTRYNAMEA, LPDWORD, LPDWORD)
struct tagRASDIALPARAMSW * LPRASDIALPARAMSW
struct tagRASPPPIPA RASPPPIPA
struct tagRASSLIPA * LPRASSLIPA
struct tagRASENTRYA RASENTRYA
CHAR szNetBiosError[NETBIOS_NAME_LEN+1]
WCHAR szNetBiosError[NETBIOS_NAME_LEN+1]
CHAR szEntryName[RAS_MaxEntryName+1]
CHAR szDeviceName[RAS_MaxDeviceName+1]
RASCONNSTATE rasconnstate
CHAR szDeviceType[RAS_MaxDeviceType+1]
RASCONNSTATE rasconnstate
WCHAR szDeviceType[RAS_MaxDeviceType+1]
WCHAR szDeviceName[RAS_MaxDeviceName+1]
WCHAR szEntryName[RAS_MaxEntryName+1]
DWORD dwCountryNameOffset
CHAR szDeviceType[RAS_MaxDeviceType+1]
CHAR szDeviceName[RAS_MaxDeviceName+1]
WCHAR szDeviceName[RAS_MaxDeviceName+1]
WCHAR szDeviceType[RAS_MaxDeviceType+1]
CHAR szPhoneNumber[RAS_MaxPhoneNumber+1]
CHAR szEntryName[RAS_MaxEntryName+1]
CHAR szCallbackNumber[RAS_MaxCallbackNumber+1]
WCHAR szEntryName[RAS_MaxEntryName+1]
WCHAR szPassword[PWLEN+1]
WCHAR szPhoneNumber[RAS_MaxPhoneNumber+1]
WCHAR szUserName[UNLEN+1]
WCHAR szCallbackNumber[RAS_MaxCallbackNumber+1]
CHAR szAutodialDll[MAX_PATH]
CHAR szX25UserData[RAS_MaxUserData+1]
CHAR szX25Facilities[RAS_MaxFacilities+1]
CHAR szLocalPhoneNumber[RAS_MaxPhoneNumber+1]
CHAR szDeviceType[RAS_MaxDeviceType+1]
CHAR szDeviceName[RAS_MaxDeviceName+1]
CHAR szX25PadType[RAS_MaxPadType+1]
CHAR szAutodialFunc[MAX_PATH]
CHAR szX25Address[RAS_MaxX25Address+1]
CHAR szAreaCode[RAS_MaxAreaCode+1]
CHAR szEntryName[RAS_MaxEntryName+1]
WCHAR szEntryName[RAS_MaxEntryName+1]
WCHAR szX25Facilities[RAS_MaxFacilities+1]
WCHAR szX25UserData[RAS_MaxUserData+1]
WCHAR szX25Address[RAS_MaxX25Address+1]
WCHAR szDeviceType[RAS_MaxDeviceType+1]
WCHAR szAutodialDll[MAX_PATH]
WCHAR szAutodialFunc[MAX_PATH]
WCHAR szX25PadType[RAS_MaxPadType+1]
WCHAR szDeviceName[RAS_MaxDeviceName+1]
WCHAR szAreaCode[RAS_MaxAreaCode+1]
WCHAR szLocalPhoneNumber[RAS_MaxPhoneNumber+1]
CHAR szIpxAddress[RAS_MaxIpxAddress+1]
WCHAR szIpxAddress[RAS_MaxIpxAddress+1]
CHAR szIpAddress[RAS_MaxIpAddress+1]
CHAR szServerIpAddress[RAS_MaxIpAddress+1]
WCHAR szServerIpAddress[RAS_MaxIpAddress+1]
WCHAR szIpAddress[RAS_MaxIpAddress+1]
CHAR szWorkstationName[NETBIOS_NAME_LEN+1]
CHAR szNetBiosError[NETBIOS_NAME_LEN+1]
WCHAR szWorkstationName[NETBIOS_NAME_LEN+1]
WCHAR szNetBiosError[NETBIOS_NAME_LEN+1]
CHAR szIpAddress[RAS_MaxIpAddress+1]
WCHAR szIpAddress[RAS_MaxIpAddress+1]
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags