Compartilhar via


RASDEVINFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains information that describes a Telephony API (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;
  CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
  CHAR 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. This member can be one of the following string constants.

    String constant 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

    For Windows CE 3.0 and later, a virtual private network connection.

    RASDT_Pad

    A Packet Assembler/Disassembler.

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

Requirements

Header ras.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RasEnumDevices