RAS_PORT_1

[This is preliminary documentation and subject to change.]

The RAS_PORT_1 structure contains detailed information regarding a specific RAS port, such as line speed or errors. For more general information about a port, such as port condition or port name, see RAS_PORT_0.

typedef struct _RAS_PORT_1{
    HANDLE                    hPort;
    HANDLE                    hConnection;
    RAS_HARDWARE_CONDITION    dwHardwareCondition;
    DWORD                     dwLineSpeed;            // in bits/second
    DWORD                     dwBytesXmited;
    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_PORT_1, *PRAS_PORT_1;
 

Members

hPort
Handle to the port.
hConnection
Handle to the connection.
dwHardwareCondition
RAS_HARDWARE_CONDITION structure.
dwLineSpeed
Line speed of the port, represented in bits per second.
dwBytesXmited
Bytes transmitted on the port.
dwBytesRcved
Bytes received on the port.
dwFramesXmited
Frames transmitted on the port.
dwFramesRcved
Frames received on the port.
dwCrcErr
CRC errors on the port.
dwTimeoutErr
Time out errors on the port.
dwAlignmentErr
Alignment errors on the port.
dwHardwareOverrunErr
Hardware overrun errors on the port.
dwFramingErr
Framing errors on the port.
dwBufferOverrunErr
Buffer overrun errors on the port.
dwBytesXmitedUncompressed
Uncompressed bytes transmitted on the port.
dwbytesRcvedUncompressed
Uncompressed bytes received on the port.
dwBytesXmitedCompressed
Compressed bytes transmitted on the port.
dwBytesRcvedCompressed
Compressed bytes received on the port.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in rassapi.h.

See Also

RAS_PORT_0, RAS_HARDWARE_CONDITION