다음을 통해 공유


NDIS_WAN_GET_LINK_INFO (Windows CE 5.0)

Send Feedback

The NDIS_WAN_GET_LINK_INFO structure formats information for OID_WAN_GET_LINK_INFO. This object identifier requests the miniport driver to return information about the current state of a link.

The following syntax defines NDIS_WAN_GET_LINK_INFO.

typedef struct _NDIS_WAN_GET_LINK_INFO {   NDIS_HANDLENdisLinkHandle;ULONGMaxSendFrameSize;ULONGMaxRecvFrameSize;  ULONGHeaderPadding;ULONGTailPadding;ULONGSendFramingBits;ULONGRecvFramingBits;ULONGSendCompressionBits;  ULONGRecvCompressionBits;  ULONGSendACCM;ULONGRecvACCM;} NDIS_WAN_GET_LINK_INFO, *PNDIS_WAN_GET_LINK_INFO;

Members

  • NdisLinkHandle
    [in] Identifies the link. The miniport driver supplied this handle in its initial line-up indication for this link.

  • MaxSendFrameSize
    [out] Specifies the maximum buffer size, in bytes, that the miniport driver can accept for transmission on this link. The driver's MiniportWanSend function can reject any incoming send packet that is larger than this size.

  • MaxRecvFrameSize
    [out] Specifies the largest packet (not including the driver's padding) that will be received on the wire. The driver can drop any packets larger than MaxRecvFrameSize.

  • HeaderPadding
    [out] Specifies the number of padding bytes at the head of the frame.

  • TailPadding
    [out] Specifies the number of padding bytes at the tail of the frame.

  • SendFramingBits
    [out] Specifies send-framing bits indicating the type of framing that should be sent. If the miniport driver detects incompatibilities between SendFramingBits and RecvFramingBits, it returns NDIS_STATUS_INVALID_WAN_SETTINGS.

    The proper NLPID and framing format should be used based on the framing bits wherever applicable. Possible values for SendFramingBits include any the driver returned in response to the OID_WAN_GET_INFO query.

  • RecvFramingBits
    [out] Specifies receive-framing bits indicating the type of framing that should be received.

  • SendCompressionBits
    [out] Reserved.

  • RecvCompressionBits
    [out] Reserved.

  • SendACCM
    [out] For asynchronous media types, logical bits 0-31 indicate the respective byte to be byte stuffed. That is, if bit 0 is set to 1, then ASCII character 0x00 should be byte stuffed, and so forth.

  • RecvACCM
    [out] As described for SendACCM.

Remarks

None.

Requirements

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

See Also

OID_WAN_GET_LINK_INFO | MiniportWanSend | OID_WAN_GET_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.