다음을 통해 공유


RASDEVINFO structure

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.

Syntax

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

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. See RASENTRY for a list of possible device types.

Windows Me/98/95: The RASDT_Vpn device type is supported only if Microsoft Dial-Up Networking Version 1.2 or later is installed. However, the RASDT_X25 and RASDT_Pad device types are not supported.

  • szDeviceName
    Specifies a null-terminated string that contains the name of a TAPI device.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ras.h

Unicode and ANSI names

RASDEVINFOW (Unicode) and RASDEVINFOA (ANSI)

See also

Remote Access Service (RAS) Overview

Remote Access Service Structures

RasEnumDevices