Porting Intermediate Driver OID Request Handling to NDIS 6.0

Like NDIS 5.x intermediate drivers, NDIS 6.0 intermediate drivers can originate or forward OID requests. NDIS 6.0 intermediate drivers can also cancel OID requests.

To forward a request down to the underlying drivers, an NDIS intermediate driver calls NdisAllocateCloneOidRequest to allocate a cloned NDIS_OID_REQUEST structure. The driver calls the NdisOidRequest function to send the request. When the request is complete, the driver must call the NdisFreeCloneOidRequest function to free the NDIS_OID_REQUEST structure.

To cancel an OID request, call the NdisCancelOidRequest function.

For more information about OID request handling in the miniport upper edge of an intermediate driver, see Porting Miniport Driver OID Request Handling to NDIS 6.0.

For more information about OID request handling in the protocol lower edge of an intermediate driver, see Porting Protocol Driver OID Request Handling to NDIS 6.0.