2.2.1.2.80 RASI_CONNECTION_3

The RASI_CONNECTION_3 structure contains information for a connection, including the GUID that identifies the connection, the Network Access Protection (NAP), and the PPP-related data for the connection.

 typedef struct _RASI_CONNECTION_3 {
   DWORD dwVersion;
   DWORD dwSize;
   DWORD dwConnection;
   WCHAR wszUserName[257];
   ROUTER_INTERFACE_TYPE dwInterfaceType;
   GUID guid;
   PPP_INFO_3 PppInfo3;
   RAS_QUARANTINE_STATE rasQuarState;
   FILETIME timer;
 } RASI_CONNECTION_3,
  *PRASI_CONNECTION_3;

dwVersion: Determines the version of the RASI_CONNECTION_3 structure used.

dwSize: This SHOULD be set to 0. This MAY be used to specify the size, in bytes, of this RASI_CONNECTION_3 structure.

dwConnection: Contains the connection handle that specifies a unique identifier of a connection.

wszUserName: Specifies a null-terminated Unicode string that contains the name of the user on this connection.

dwInterfaceType: A ROUTER_INTERFACE_TYPE (section 2.2.1.1.1) value that specifies the type of interface.

guid: Specifies a GUID that identifies the connection. For an incoming connection, this GUID is valid only as long as the connection is active.

PppInfo3: Specifies a PPP_INFO_3 (section 2.2.1.2.74) structure<60> that contains information about the PPP negotiation for this connection.

rasQuarState: Specifies the NAP quarantine state for the connection through the RAS_QUARANTINE_STATE (section 2.2.1.1.3) that contains the quarantine state of this connection.

timer: Specifies the NAP probation time for the connection in the UTC. This value is valid only if the rasQuarState has a value of RAS_QUAR_STATE_PROBATION (see RAS_QUARANTINE_STATE section 2.2.1.1.3).