7 #define RAS_MaxEntryName 256
8 #define RAS_MaxPhoneNumber 128
9 #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
11 typedef struct tagRASCONNA
{
14 CHAR szEntryName
[RAS_MaxEntryName
+1];
15 } RASCONNA
,*LPRASCONNA
;
17 typedef struct tagRASENTRYNAME
{
19 CHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
20 } RASENTRYNAME
, *LPRASENTRYNAME
;
22 typedef struct tagRASDIALPARAMS
{
24 WCHAR szEntryName
[ RAS_MaxEntryName
+ 1 ];
25 WCHAR szPhoneNumber
[ RAS_MaxPhoneNumber
+ 1 ];
26 WCHAR szCallbackNumber
[ RAS_MaxCallbackNumber
+ 1 ];
27 WCHAR szUserName
[ UNLEN
+ 1 ];
28 WCHAR szPassword
[ PWLEN
+ 1 ];
29 WCHAR szDomain
[ DNLEN
+ 1 ];
32 } RASDIALPARAMS
, *LPRASDIALPARAMS
;
35 DWORD WINAPI
RasEnumConnectionsA( LPRASCONNA rc
, LPDWORD x
, LPDWORD y
);
36 DWORD WINAPI
RasEnumEntriesA( LPSTR Reserved
, LPSTR lpszPhoneBook
,
37 LPRASENTRYNAME lpRasEntryName
,
38 LPDWORD lpcb
, LPDWORD lpcEntries
);
39 DWORD WINAPI
RasGetEntryDialParamsA( LPSTR lpszPhoneBook
,
40 LPRASDIALPARAMS lpRasDialParams
,