Partager via


RASCONN (Compact 2013)

3/26/2014

This structure provides data about a remote access connection. The RasEnumConnections function returns an array of RASCONN structures.

Syntax

typedef struct _RASCONN { 
  DWORD dwSize; 
  HRASCONN hrasconn; 
  TCHAR szEntryName[ RAS_MaxEntryName + 1 ]; 
} RASCONN;

Members

  • dwSize
    Specifies the size, in bytes, of the RASCONN structure.
  • hrasconn
    Handle to the remote access connection. This handle is used in other remote access API calls.
  • szEntryName
    Null-terminated string that specifies the phone-book entry used to establish the remote access connection. If the connection was established using an empty entry name, this string consists of a period (.) followed by the connection phone number.

Requirements

Header

ras.h

See Also

Reference

RAS Structures
RasEnumConnections
RasGetConnectStatus