Platform SDK: RAS/Routing and RAS |
The RASSUBENTRY structure contains information about a subentry of a RAS phone-book entry. The RasSetSubEntryProperties and RasGetSubEntryProperties functions use this structure to set and retrieve the properties of a subentry.
typedef struct tagRASSUBENTRY { DWORD dwSize; DWORD dwfFlags; // // Device // TCHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; TCHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; // // Phone numbers // TCHAR szLocalPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; DWORD dwAlternateOffset; } RASSUBENTRY;
sizeof(RASSUBENTRY)
to identify the version of the structure.String | Description |
---|---|
RASDT_Modem | A modem accessed through a COM port. |
RASDT_Isdn | An ISDN card with the corresponding NDISWAN driver installed. |
RASDT_X25 | An X.25 card with the corresponding NDISWAN driver installed. |
RASDT_Vpn | A virtual private network connection. |
RASDT_Pad | A Packet Assembler/Disassembler |
Windows 95: The RASDT_Vpn device type is supported on Windows 95 only if Microsoft Dial-Up Networking Version 1.2 is installed. The RASDT_X25 and RASDT_Pad device types are not supported on Windows 95.
Windows 98: The RASDT_Vpn device type is supported on Windows 98. However, the RASDT_X25 and RASDT_Pad device types are not currently supported on Windows 98
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Unsupported.
Header: Declared in Ras.h.
Unicode: Declared as Unicode and ANSI structures.
Remote Access Service (RAS) Overview, Remote Access Service Structures, RasGetSubEntryProperties, RasSetSubEntryProperties