Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NetAdapterCx is preview only in Windows 10, version 1903.
Adds a caller-provided handler for a specific OID set data request to a NET_REQUEST_QUEUE_CONFIG structure.
void NET_REQUEST_QUEUE_CONFIG_ADD_SET_DATA_HANDLER( NET_REQUEST_QUEUE_CONFIG *NetRequestQueueConfig, NDIS_OID Oid, PFN_NET_REQUEST_SET_DATA EvtRequestSetData, UINT MinimumInputLength );
A pointer to a driver-allocated NET_REQUEST_QUEUE_CONFIG structure to which the custom handler is being added.
The object identifier of the requested operation. The value is an OID_XXX code.
Pointer to the client driver's implementation of a EVT_NET_REQUEST_SET_DATA event callback function.
A UINT specifying the minimum input length for the request.
This method does not return a value.
When the client driver has finished adding custom handlers, it registers them with NetAdapterCx by calling NetRequestQueueCreate.
If the memory allocation for this method fails, the subsequent call to NetRequestQueueCreate returns a failure code.
This function has the same effect as the following call sequence:
|Minimum KMDF version||1.21|