RAS_CONNECTION_1

[This is preliminary documentation and subject to change.]

The RAS_CONNECTION_1 structure contains specific information regarding a specific connection, such as error counts and bytes received. For more general information about a specific connection, such as username or domain, see RAS_CONNECTION_0.

typedef struct RAS_CONNECTION_1 {
    HANDLE      hConnection;
    HANDLE      hInterface;
    PPP_INFO    pppInfo;
    DWORD       dwBytesXmitted;
    DWORD       dwBytesRcved;
    DWORD       dwFramesXmited;
    DWORD       dwFramesRcved;
    DWORD       dwCrcErr;
    DWORD       dwTimeoutErr;
    DWORD       dwAlignmentErr;
    DWORD       dwHardwareOverrunErr;
    DWORD       dwFramingErr;
    DWORD       dwBufferOverrunErr;
    DWORD       dwBytesXmitedUncompressed;
    DWORD       dwbytesRcvedUncompressed;
    DWORD       dwBytesXmitedCompressed;
    DWORD       dwBytesRcvedCompressed;
} RAS_CONNECTION_1; *PRAS_CONNECTION_1;
 

Members

hConnection
Handle to the connection.
hInterface
Handle to the interface.
pppInfo
PPP_INFO structure.
dwBytesXmitted
Bytes transmitted on the current connection.
dwBytesRcved
Bytes received on the current connection.
dwFramesXmited
Frames transmitted on the current connection.
dwFramesRcved
Frames received on the current connection.
dwCrcErr
CRC (Cyclic Redundancy Check) errors on the current connection.
dwTimeoutErr
Time out errors on the current connection.
dwAlignmentErr
Alignment errors on the current connection.
dwHardwareOverrunErr
Number of hardware overrun errors on the current connection.
dwFramingErr
Number of framing errors for the current connection.
dwBufferOverrunErr
Number of buffer overrun errors.
dwBytesXmitedUncompressed
Uncompressed bytes of data transmitted on the current connection.
dwbytesRcvedUncompressed
Uncompressed bytes of data received on the current connection.
dwBytesXmitedCompressed
Compressed bytes transmitted on the current connection.
dwBytesRcvedCompressed
Compressed bytes received on the current connection.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.

See Also

RAS_CONNECTION_0, PPP_INFO