* include/ras.h: New file.
* lib/rasapi32.def: Add symbols for RasEnumDevicesA and RasEnumDevicesW.
This commit is contained in:
parent
7041211c58
commit
63c05d8ce7
@ -1,3 +1,9 @@
|
||||
Mon Oct 2 11:15:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/ras.h: New file.
|
||||
* lib/rasapi32.def: Add symbols for RasEnumDevicesA and
|
||||
RasEnumDevicesW.
|
||||
|
||||
Mon Oct 2 10:56:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/ntdef.h: Add define for NTAPI.
|
||||
|
50
winsup/w32api/include/ras.h
Normal file
50
winsup/w32api/include/ras.h
Normal file
@ -0,0 +1,50 @@
|
||||
#ifndef _RAS_H_
|
||||
#define _RAS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define RAS_MaxDeviceType 16
|
||||
#define RAS_MaxDeviceName 128
|
||||
|
||||
#define RASDT_Modem TEXT("modem")
|
||||
#define RASDT_Isdn TEXT("isdn")
|
||||
#define RASDT_X25 TEXT("x25")
|
||||
#define RASDT_Vpn TEXT("vpn")
|
||||
#define RASDT_Pad TEXT("pad")
|
||||
|
||||
typedef struct tagRASDEVINFOA {
|
||||
DWORD dwSize;
|
||||
CHAR szDeviceType[RAS_MaxDeviceType+1];
|
||||
CHAR szDeviceName[RAS_MaxDeviceName+1];
|
||||
};
|
||||
#define RASDEVINFOA struct tagRASDEVINFOA
|
||||
#define LPRASDEVINFOA RASDEVINFOA*
|
||||
|
||||
typedef struct tagRASDEVINFOW {
|
||||
DWORD dwSize;
|
||||
WCHAR szDeviceType[RAS_MaxDeviceType+1];
|
||||
WCHAR szDeviceName[RAS_MaxDeviceName+1];
|
||||
};
|
||||
#define RASDEVINFOW struct tagRASDEVINFOW
|
||||
#define LPRASDEVINFOW RASDEVINFOW*
|
||||
|
||||
DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA,LPDWORD,LPDWORD);
|
||||
DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW,LPDWORD,LPDWORD);
|
||||
|
||||
#ifdef UNICODE
|
||||
#define RASDEVINFO RASDEVINFOW
|
||||
#define RasEnumDevices RasEnumDevicesW
|
||||
#else
|
||||
#define RASDEVINFO RASDEVINFOA
|
||||
#define RasEnumDevices RasEnumDevicesA
|
||||
#endif
|
||||
|
||||
#define LPRASDEVINFO RASDEVINFO*
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RAS_H_ */
|
@ -10,6 +10,8 @@ RasEditPhonebookEntryW@12
|
||||
RasEnumConnectionsA@12
|
||||
RasEnumConnectionsW@12
|
||||
RasEnumConnectionsWow@12
|
||||
RasEnumDevicesA@12
|
||||
RasEnumDevicesW@12
|
||||
RasEnumEntriesA@20
|
||||
RasEnumEntriesW@20
|
||||
RasEnumEntriesWow@20
|
||||
|
Loading…
Reference in New Issue
Block a user