Share via


OID_IRDA_RELEASE_HW_RESOURCES

The OID_IRDA_RELEASE_HW_RESOURCES OID is optional for IrDA miniport drivers and is supported only by Windows 95/98/Me IrDA miniport drivers.

This OID requests that the miniport driver release the use of its hardware resources.

It is the responsibility of the protocol to ensure that there are no outstanding requests or sends to the miniport driver before sending this request. After the protocol sends this request, the miniport driver releases any hardware resources associated with the infrared port and assigns the information to a reply buffer. The miniport driver might also optionally assign a list of hardware ID and compatible identifiers in a PNPID member of the reply buffer. The format of this PNPID member should be a NULL-terminated string. For example, a FIR miniport driver that has SHP0001 as an identifier and also supports running as a COM port might return "SHP0001,*PNP0511" in the PNPID member of the reply buffer.

If the miniport driver has a 16550-compatible mode of operation, it must leave its infrared transceiver in that mode as a result of this request.

If the miniport driver is not operating, that is, it has not already acquired resources, it should return NDIS_STATUS_FAILURE for this request.

 

 

Send comments about this topic to Microsoft