NDIS_WAN_GET_STATS_INFO (Windows CE 5.0)

Send Feedback

The NDIS_WAN_GET_STATS_INFO structure returns statistics requested by OID_WAN_GET_STATS_INFO. This object identifier requests the miniport driver to return statistics information that a WAN NIC driver is expected to keep.

The following syntax defines the NDIS_WAN_GET_STATS_INFO structure.

typedef struct _NDIS_WAN_GET_STATS_INFO {   NDIS_HANDLENdisLinkHandle;  ULONGBytesSent;ULONGBytesRcvd;ULONGFramesSent;ULONGFramesRcvd;ULONGCRCErrors;ULONGTimeoutErrors;ULONGAlignmentErrors;ULONGSerialOverrunErrors;ULONGFramingErrors;ULONGBufferOverrunErrors;ULONGBytesTransmittedUncompressed;ULONGBytesReceivedUncompressed;ULONGBytesTransmittedCompressed;  ULONGBytesReceivedCompressed;} NDIS_WAN_GET_STATS_INFO, *PNDIS_WAN_GET_STATS_INFO; 

Members

  • NdisLinkHandle
    [in] Identifies the link. The miniport driver supplied this handle in the initial line-up indication for this link.
  • BytesSent
    [out] Specifies the number of bytes transmitted.
  • BytesRcvd
    [out] Specifies the number of bytes received.
  • FramesSent
    [out] Specifies the number of frames (WAN packets) sent.
  • FramesRcvd
    [out] Specifies the number of frames received.
  • CRCErrors
    [out] Specifies the number of CRC errors encountered.
  • TimeoutErrors
    [out] Specifies the number of timeout errors encountered.
  • AlignmentErrors
    [out] Specifies the number of alignment errors encountered.
  • SerialOverrunErrors
    [out] Specifies the number of serial overruns encountered.
  • FramingErrors
    [out] Specifies the number of framing errors encountered.
  • BufferOverrunErrors
    [out] Specifies the number of buffer overruns encountered.
  • BytesTransmittedUncompressed
    [out] Specifies the number of bytes of uncompressed data transmitted. A miniport driver returns a nonzero value only if it supports compression.
  • BytesReceivedUncompressed
    [out] Specifies the number of bytes of uncompressed data received. A miniport driver returns a nonzero value only if it supports compression.
  • BytesTransmittedCompressed
    [out] Specifies the number of bytes of compressed data transmitted. A miniport driver returns a nonzero value only if it supports compression.
  • BytesReceivedCompressed
    [out] Specifies the number of bytes of compressed data received. A miniport driver returns a nonzero value only if it supports compression.
    If the underlying driver or its NIC does not support compression, the driver returns zero for the Bytes.Uncompressed/Compressed members.

Remarks

None.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

OID_WAN_GET_STATS_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.