Bewerken

Delen via


Miniport Adapter Direct OID Requests

To support the direct OID request path, miniport drivers provide MiniportXxx function entry points in the NDIS_MINIPORT_DRIVER_CHARACTERISTICS structure and NDIS provides NdisMXxx functions for miniport drivers.

The direct OID request interface is similar to the standard OID request interface. For example, the NdisMDirectOidRequestComplete and MiniportDirectOidRequest functions are similar to the NdisMOidRequestComplete and MiniportOidRequest functions.

Note  NDIS 6.1 supports specific OIDs for use with the direct OID request interface. OIDs that existed before NDIS 6.1 and some NDIS 6.1 OIDs are not supported. To determine if an OID can be used in the direct OIDs interface, see the OID reference page. 

Miniport drivers must be able to handle direct OID requests that are not serialized. Unlike the standard OID request interface, NDIS does not serialize direct OID requests with other requests that are sent with the direct OID interface or with the standard OID request interface. Also, miniport drivers must be able to handle direct OID requests at IRQL <= DISPATCH_LEVEL.

To support the direct OIDs request interface, use the documentation for the standard OID request interface. The following table shows the relationship between the functions in the direct OID request interface and the standard OID request interface.

Direct OID function Standard OID function

MiniportDirectOidRequest

MiniportOidRequest

MiniportCancelDirectOidRequest

MiniportCancelOidRequest

NdisMDirectOidRequestComplete

NdisMOidRequestComplete