wine/include/ras.h

45 lines
1.2 KiB
C
Raw Normal View History

1998-12-11 13:26:26 +00:00
#ifndef __WINE_RAS_H
#define __WINE_RAS_H
1999-03-14 16:35:05 +00:00
#include "windef.h"
#include "lmcons.h"
1998-12-11 13:26:26 +00:00
#define RAS_MaxEntryName 256
#define RAS_MaxPhoneNumber 128
#define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
1998-12-11 13:26:26 +00:00
typedef struct tagRASCONNA {
1998-12-11 13:26:26 +00:00
DWORD dwSize;
HRASCONN hRasConn;
1998-12-11 13:26:26 +00:00
CHAR szEntryName[RAS_MaxEntryName+1];
} RASCONNA,*LPRASCONNA;
1998-12-11 13:26:26 +00:00
typedef struct tagRASENTRYNAME {
DWORD dwSize;
CHAR szEntryName[ RAS_MaxEntryName + 1 ];
} RASENTRYNAME, *LPRASENTRYNAME;
typedef struct tagRASDIALPARAMS {
DWORD dwSize;
WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
WCHAR szUserName[ UNLEN + 1 ];
WCHAR szPassword[ PWLEN + 1 ];
WCHAR szDomain[ DNLEN + 1 ];
DWORD dwSubEntry;
DWORD dwCallbackId;
} RASDIALPARAMS, *LPRASDIALPARAMS;
DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rc, LPDWORD x, LPDWORD y);
DWORD WINAPI RasEnumEntriesA( LPSTR Reserved, LPSTR lpszPhoneBook,
LPRASENTRYNAME lpRasEntryName,
LPDWORD lpcb, LPDWORD lpcEntries);
DWORD WINAPI RasGetEntryDialParamsA( LPSTR lpszPhoneBook,
LPRASDIALPARAMS lpRasDialParams,
LPBOOL lpfPassword);
1998-12-11 13:26:26 +00:00
#endif