* include/ras.h: New file.

* lib/rasapi32.def: Add symbols for RasEnumDevicesA and
        RasEnumDevicesW.
This commit is contained in:
Corinna Vinschen 2000-10-02 09:19:14 +00:00
parent 7041211c58
commit 63c05d8ce7
3 changed files with 58 additions and 0 deletions

View File

@ -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.

View 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_ */

View File

@ -10,6 +10,8 @@ RasEditPhonebookEntryW@12
RasEnumConnectionsA@12
RasEnumConnectionsW@12
RasEnumConnectionsWow@12
RasEnumDevicesA@12
RasEnumDevicesW@12
RasEnumEntriesA@20
RasEnumEntriesW@20
RasEnumEntriesWow@20