<div class="content"><p>The <b>RAS_CONNECTION_4_IDL</b> structure<a id="Appendix_A_Target_165"></a><a aria-label="Product behavior note 165" href="3bb906f0-b077-47ab-ad11-d8d807afde26#Appendix_A_165" data-linktype="relative-path">&lt;165&gt;</a> contains information for a
connection, including the GUID that identifies the connection, the NAP, and the
PPP or the IKEv2- related data for the connection.</p><dl>
<dd>
<div><pre> typedef struct _RAS_CONNECTION_4_IDL {
   DWORD dwConnectDuration;
   ROUTER_INTERFACE_TYPE dwInterfaceType;
   DWORD dwConnectionFlags;
   WCHAR wszInterfaceName[257];
   WCHAR wszUserName[257];
   WCHAR wszLogonDomain[16];
   WCHAR wszRemoteComputer[17];
   GUID guid;
   RAS_QUARANTINE_STATE rasQuarState;
   FILETIME probationTime;
   FILETIME connectionStartTime;
   DWORD dwBytesXmited;
   DWORD dwBytesRcved;
   DWORD dwFramesXmited;
   DWORD dwFramesRcved;
   DWORD dwCrcErr;
   DWORD dwTimeoutErr;
   DWORD dwAlignmentErr;
   DWORD dwHardwareOverrunErr;
   DWORD dwFramingErr;
   DWORD dwBufferOverrunErr;
   DWORD dwCompressionRatioIn;
   DWORD dwCompressionRatioOut;
   DWORD dwNumSwitchOvers;
   WCHAR wszRemoteEndpointAddress[65];
   WCHAR wszLocalEndpointAddress[65];
   PROJECTION_INFO_IDL_2 ProjectionInfo;
   ULONG hConnection;
   ULONG hInterface;
   DWORD dwDeviceType;
 } RAS_CONNECTION_4_IDL,
  *PRAS_CONNECTION_4_IDL;
</pre></div>
</dd></dl><p><b>dwConnectDuration: </b>Same as <b>dwConnectDuration</b>
in <a href="d9078168-75b2-4d5d-93b6-f39b29736682" data-linktype="relative-path"><b>RAS_CONNECTION_EX_1_IDL</b></a><span> (</span>section 2.2.1.2.133<span>)</span>.</p><p><b>dwInterfaceType: </b>Same as <b>dwInterfaceType</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwConnectionFlags: </b>Same as <b>dwConnectionFlags</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>wszInterfaceName: </b>Same as <b>wszInterfaceName</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>wszUserName: </b>Same as <b>wszUserName</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>wszLogonDomain: </b>Same as <b>wszLogonDomain</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>wszRemoteComputer: </b>Same as <b>wszRemoteComputer</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>guid: </b>Same as <b>guid</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>rasQuarState: </b>Same as <b>rasQuarState</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>probationTime: </b>Same as <b>probationTime</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>connectionStartTime: </b>Same as <b>connectionStartTime</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwBytesXmited: </b>Same as <b>dwBytesXmited</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwBytesRcved: </b>Same as <b>dwBytesRcved</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwFramesXmited: </b>Same as <b>dwFramesXmited</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwFramesRcved: </b>Same as <b>dwFramesRcved</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwCrcErr: </b>Same as <b>dwCrcErr</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwTimeoutErr: </b>Same as <b>dwTimeoutErr</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwAlignmentErr: </b>Same as <b>dwAlignmentErr</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwHardwareOverrunErr: </b>Same as <b>dwHardwareOverrunErr</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwFramingErr: </b>Same as <b>dwFramingErr</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwBufferOverrunErr: </b>Same as <b>dwBufferOverrunErr</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwCompressionRatioIn: </b>Same as <b>dwCompressionRatioIn</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwCompressionRatioOut: </b>Same as <b>dwCompressionRatioOut</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>dwNumSwitchOvers: </b>Same as <b>dwNumSwitchOvers</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>wszRemoteEndpointAddress: </b>Same as <b>wszRemoteEndpointAddress</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>wszLocalEndpointAddress: </b>Same as <b>wszLocalEndpointAddress</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>ProjectionInfo: </b>Same as <b>ProjectionInfo</b>
in RAS_CONNECTION_EX_1_IDL.</p><p><b>hConnection: </b>Same as <b>hConnection</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>hInterface: </b>Same as <b>hInterface</b> in
RAS_CONNECTION_EX_1_IDL.</p><p><b>dwDeviceType: </b>Specifies the device type of the
port associated with the RAS connection as defined in the <a href="47fa4723-e879-4191-8fe5-34c13487cca4" data-linktype="relative-path"><b>RASDEVICETYPE (section 2.2.1.1.16)</b></a>
enumeration type.  </p></div>