Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The NDIS implementation in Windows CE 3.0 features IrDA support. Unlike Windows NT, which supports binding to multiple adapter instances, the Windows CE IRDA protocol driver can bind only to a single miniport driver at a time. In the Windows communications architecture, infrared sockets are exposed through extensions to the Winsock interface.
Windows CE features the following two Windows CE-specific object identifiers that provide for the sharing of hardware resources:
When an infrared socket has been opened and no others are currently open, the set information handler of the miniport is passed a request with the OID OID_IRDA_REACQUIRE_HW_RESOURCES message to the miniport. This message tells the miniport to take ownership of any resources that are needed for IR communication (for example, IrSIR opens a COM port). After all of the open infrared sockets have been closed, the miniport receives the OID_IRDA_RELEASE_HW_RESOURCES message through its query information handler. After it receives this message, the miniport releases all of the previously acquired hardware resources.
Last updated on Tuesday, July 13, 2004