Freigeben über


OID_IRDA_MEDIA_BUSY (Windows CE 5.0)

Send Feedback

This object identifier requests information about whether the media is busy — that is, whether the miniport driver detects packet traffic.

For a set, the miniport driver can start to monitor the media for a busy condition. IrLAP sets the value of OID_IRDA_MEDIA_BUSY to 0 to inform the miniport driver to monitor for a media-busy condition. If the miniport driver detects infrared traffic of any kind, it must:

  • Set the value of OID_IRDA_MEDIA_BUSY to nonzero.
  • Call the NdisMIndicateStatus function to indicate that the media is busy. In this call, the miniport driver passes NDIS_STATUS_MEDIA_BUSY in the GeneralStatus parameter.

After the value of OID_IRDA_MEDIA_BUSY is set to nonzero, the miniport driver does not monitor the media for a busy condition again until IrLAP resets OID_IRDA_MEDIA_BUSY to 0.

For a query, the miniport driver determines if media is currently busy. The miniport driver returns a 0 value if the media is not busy. The miniport driver returns a nonzero value if it detects packet traffic.

Requirements

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

See Also

NdisMIndicateStatus | IrDA Network Adapters

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.