Compartir a través de


Porting OID Requests for CoNDIS 6.0 Miniport Drivers

In CoNDIS 6.0, the MiniportCoOidRequest function replaces the NDIS 5.x MiniportCoRequest function, and the NDIS_OID_REQUEST structure replaces the NDIS_REQUEST structure.

NDIS calls a miniport driver's MiniportCoOidRequest function to send an OID request to a CoNDIS miniport driver. In contrast with MiniportCoRequest, which NDIS can call only at IRQL = DISPATCH_LEVEL, NDIS can call MiniportCoOidRequest at IRQL <= DISPATCH_LEVEL.

CoNDIS 6.0 miniport drivers should provide a MiniportCancelOidRequest function, which NDIS calls to cancel an OID request. For NDIS 6.0 miniport drivers, NDIS does not reset the miniport adapter to cancel OID requests.

If MiniportCoOidRequest returns NDIS_STATUS_PENDING, the miniport driver must subsequently call the NdisMCoOidRequestComplete function to complete the request.

The NDIS_OID_REQUEST structure differs from NDIS_REQUEST in that NDIS_OID_REQUEST can specify a time-out and a request identifier.

For more information about handling OID requests in a CoNDIS miniport driver, see CoNDIS Miniport Driver OID Requests.