RAS_CONNECTION_1 structure (mprapi.h)
The RAS_CONNECTION_1 structure contains detailed information regarding a specific connection, such as error counts and bytes received. For more general information about a specific connection, such as user name or domain, see RAS_CONNECTION_0.
Syntax
typedef struct _RAS_CONNECTION_1 {
HANDLE hConnection;
HANDLE hInterface;
PPP_INFO PppInfo;
DWORD dwBytesXmited;
DWORD dwBytesRcved;
DWORD dwFramesXmited;
DWORD dwFramesRcved;
DWORD dwCrcErr;
DWORD dwTimeoutErr;
DWORD dwAlignmentErr;
DWORD dwHardwareOverrunErr;
DWORD dwFramingErr;
DWORD dwBufferOverrunErr;
DWORD dwCompressionRatioIn;
DWORD dwCompressionRatioOut;
} RAS_CONNECTION_1, *PRAS_CONNECTION_1;
Members
hConnection
A handle to the connection.
hInterface
A handle to the interface.
PppInfo
A PPP_INFO structure that contains Point-to-Point (PPP) projection operation information for a connection.
dwBytesXmited
A value that specifies the number of bytes transmitted on the connection.
dwBytesRcved
A value that specifies the number of bytes received on the connection.
dwFramesXmited
A value that specifies the number of frames transmitted on the connection.
dwFramesRcved
A value that specifies the number of frames received on the connection.
dwCrcErr
A value that specifies the number of Cyclic Redundancy Check (CRC) errors on the connection.
dwTimeoutErr
A value that specifies the number of time-out errors on the connection.
dwAlignmentErr
A value that specifies the number of alignment errors on the connection.
dwHardwareOverrunErr
A value that specifies the number of hardware overrun errors on the connection.
dwFramingErr
A value that specifies the number of framing errors on the connection.
dwBufferOverrunErr
A value that specifies the number of buffer overrun errors on the connection.
dwCompressionRatioIn
A value that specifies the percentage by which data received on this connection is compressed. dwCompressionRatioIn is the size of the compressed data divided by the size of the same data in an uncompressed state.
dwCompressionRatioOut
A value that specifies the percentage by which data transmitted on this connection is compressed. The ratio is the size of the compressed data divided by the size of the same data in an uncompressed state.
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