Bewerken

Delen via


Protocol Driver Direct OID Requests

To support the direct OID request path, protocol drivers provide ProtocolXxx function entry points in the NDIS_PROTOCOL_DRIVER_CHARACTERISTICS structure and NDIS provides NdisXxx functions for protocol drivers.

The direct OID request interface is similar to the standard OID request interface. For example, the NdisDirectOidRequest and ProtocolDirectOidRequestComplete functions are similar to the NdisOidRequest and ProtocolOidRequestComplete functions.

Note  NDIS 6.1 and later support 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. For example, see the note in the OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA OID.

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

ProtocolDirectOidRequestComplete

ProtocolOidRequestComplete

NdisDirectOidRequest

NdisOidRequest

NdisCancelDirectOidRequest

NdisCancelOidRequest