Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
[wine/multimedia.git] / include / ras.h
blob428c2109fe9859af61d40f49bffd00f271c6f811
1 #ifndef __WINE_RAS_H
2 #define __WINE_RAS_H
4 #include "windef.h"
5 #include "lmcons.h"
7 #define RAS_MaxEntryName 256
8 #define RAS_MaxPhoneNumber 128
9 #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
11 typedef struct tagRASCONNA {
12 DWORD dwSize;
13 HRASCONN hRasConn;
14 CHAR szEntryName[RAS_MaxEntryName+1];
15 } RASCONNA,*LPRASCONNA;
17 typedef struct tagRASENTRYNAME {
18 DWORD dwSize;
19 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
20 } RASENTRYNAME, *LPRASENTRYNAME;
22 typedef struct tagRASDIALPARAMS {
23 DWORD dwSize;
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 ];
30 DWORD dwSubEntry;
31 DWORD dwCallbackId;
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,
41 LPBOOL lpfPassword);
44 #endif