Prev Next

RASCONN info  Overview  Group

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

typedef struct _RASCONN { 

    DWORD     dwSize; 

    HRASCONN  hrasconn; 

    TCHAR     szEntryName[RAS_MaxEntryName + 1]; 

 

#if (WINVER >= 0x400) 

    CHAR      szDeviceType[ RAS_MaxDeviceType + 1 ]; 

    CHAR      szDeviceName[ RAS_MaxDeviceName + 1 ]; 

#endif 

 

} RASCONN ; 

 

Members

dwSize
Specifies the size, in bytes, of the RASCONN structure.
hrasconn
Specifies the remote access connection. This handle is used in other remote access API calls.
szEntryName
A 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 “.” followed by the connection phone number.
szDeviceType
A null-terminated string that contains the device type through which the connection is made.
szDeviceName
A null-terminated string that contains the device name through which the connection is made.

See Also

RasEnumConnections, RasGetConnectStatus