RAS_CONNECTION_2 structure (mprapi.h)

The RAS_CONNECTION_2 structure contains information for a connection, including the Globally Unique Identifier (GUID) that identifies the connection.

Syntax

typedef struct _RAS_CONNECTION_2 {
  HANDLE                hConnection;
  WCHAR                 wszUserName[UNLEN + 1];
  ROUTER_INTERFACE_TYPE dwInterfaceType;
  GUID                  guid;
  PPP_INFO_2            PppInfo2;
} RAS_CONNECTION_2, *PRAS_CONNECTION_2;

Members

hConnection

A handle to the connection.

wszUserName[UNLEN + 1]

A null-terminated Unicode string that contains the name of the user logged on to the connection.

dwInterfaceType

A ROUTER_INTERFACE_TYPE enumeration that identifies the type of connection interface.

guid

A GUID that identifies the connection. For incoming connections, this GUID is valid only as long as the connection is active.

PppInfo2

A PPP_INFO_2 structure that contains Point-to-Point (PPP) projection operation information for a connection.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header mprapi.h

See also

MprAdminAcceptReauthentication

MprAdminConnectionEnum

MprAdminConnectionHangupNotification3

RAS Administration Structures

RAS_CONNECTION_0

RAS_CONNECTION_1

RAS_CONNECTION_3

Remote Access Service Administration Reference