RASDEVINFO

The RASDEVINFO structure contains information that describes a TAPI device capable of establishing a RAS connection. The RasEnumDevices function uses this structure to retrieve information about RAS-capable devices.

typedef struct tagRASDEVINFO {
    DWORD    dwSize;
    TCHAR    szDeviceType[ RAS_MaxDeviceType + 1 ];
    TCHAR    szDeviceName[ RAS_MaxDeviceName + 1 ];
} RASDEVINFOW;
 

Members

dwSize
Specifies the size, in bytes, of the RASDEVINFO structure. Before calling RasEnumDevices, set dwSize to sizeof(RASDEVINFO) to identify the version of the structure.
szDeviceType
Specifies a null-terminated string indicating the RAS device type referenced by szDeviceName. This member can be one of the following string constants.
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

szDeviceName
Specifies a null-terminated string containing the name of a TAPI device.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 OSR2 or later.
  Windows CE: Unsupported.
  Header: Declared in ras.h.
  Unicode: Defined as Unicode and ANSI structures.

See Also

Remote Access Service Overview, RAS Server Administration Union, RasEnumDevices