The RAS_CONNECTION_2 structure contains information for a connection, including the GUID that identifies the connection.
typedef struct _RAS_CONNECTION_2 { HANDLE hConnection; // handle to the connection WCHAR wszUserName[ UNLEN + 1 ]; // name of the user // on this connection ROUTER_INTERFACE_TYPE dwInterfaceType; // interface type // for the connection GUID guid; // guid that identifies the connection PPP_INFO_2 PppInfo2; } RAS_CONNECTION_2, *PRAS_CONNECTION_2;
Windows NT/2000: Requires Windows 2000.
Header: Declared in Mprapi.h.
Remote Access Service Administration Reference, RAS Administration Structures, MprAdminConnectionEnum, RAS_CONNECTION_0, RAS_CONNECTION_1