RAS_CONNECTION_3 structure

The RAS_CONNECTION_3 structure contains information for the connection, including the Globally Unique Identifier (GUID) that identifies the connection and the quarantine state of the connection.

Syntax


typedef struct _RAS_CONNECTION_3 {
  DWORD                 dwVersion;
  DWORD                 dwSize;
  HANDLE                hConnection;
  WCHAR                 wszUserName[UNLEN + 1];
  ROUTER_INTERFACE_TYPE dwInterfaceType;
  GUID                  guid;
  PPP_INFO_3            PppInfo3;
  RAS_QUARANTINE_STATE  rasQuarState;
  FILETIME              timer;
} RAS_CONNECTION_3, *PRAS_CONNECTION_3;

Members

dwVersion

The version of the RAS_CONNECTION_3 structure used.

dwSize

The size, in bytes, of this RAS_CONNECTION_3 structure.

hConnection

A handle to the connection.

wszUserName

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.

PppInfo3

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

rasQuarState

A RAS_QUARANTINE_STATE structure that specifies the Network Access Protection (NAP) quarantine state of the connection.

timer

A FILETIME structure that specifies the time required for the connection to come out of quarantine after which the connection will be dropped. This value is valid only if rasQuarState has a value of RAS_QUAR_STATE_PROBATION.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mprapi.h

See also

Remote Access Service Administration Reference
RAS Administration Structures
MprAdminAcceptReauthentication
MprAdminConnectionEnum
MprAdminConnectionHangupNotification3
RAS_CONNECTION_0
RAS_CONNECTION_1
RAS_CONNECTION_2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft