Partager via


IrDA Network Adapters (Windows Embedded CE 6.0)

1/6/2010

IrDA miniports are required to export an additional mechanism for power management. This requirement allows the IrDA miniport to power down when there are no infrared sockets open. Infrared sockets are exposed through extensions to the Winsock application interface. The following list describes the expected operation of an IrDA miniport:

  • The miniport is initialized without hardware resources.
  • When the first infrared socket is opened, the miniport receives the OID_IRDA_REACQUIRE_HW_RESOURCES message through its set information handler. The miniport then acquires all hardware and software resources for the miniport to operate.
  • When the last infrared socket is closed, the miniport receives the OID_IRDA_RELEASE_HW_RESOURCES message through its query information handler. The miniport then releases all hardware resources.

If the miniport is not concerned with power management, the miniport can initialize with all resources and treat the set or query object identifier requests as NULL operations.

See Also

Reference

OID_IRDA_REACQUIRE_HW_RESOURCES
OID_IRDA_RELEASE_HW_RESOURCES

Concepts

NDIS Support for Power Management