Partager via


OID_IRDA_MEDIA_BUSY

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

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.