NET_REQUEST_QUEUE_CONFIG_ADD_INITIALIZED_QUERY_DATA_HANDLER function

Warning

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, pre-initialized query request handler structure to a NET_REQUEST_QUEUE_CONFIG structure.

Syntax

void NET_REQUEST_QUEUE_CONFIG_ADD_INITIALIZED_QUERY_DATA_HANDLER(
  NET_REQUEST_QUEUE_CONFIG             *NetRequestQueueConfig,
  NET_REQUEST_QUEUE_QUERY_DATA_HANDLER *QueryDataHandler
);

Parameters

NetRequestQueueConfig

A pointer to a driver-allocated NET_REQUEST_QUEUE_CONFIG structure to which the query data handler is being added.

QueryDataHandler

A pointer to a driver-allocated and initialized NET_REQUEST_QUEUE_QUERY_DATA_HANDLER structure. The client driver must call NET_REQUEST_QUEUE_QUERY_DATA_HANDLER_INIT method to initialize the custom handler before calling this function.

Return Value

This method does not return a value.

Remarks

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.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.21
Header netrequestqueue.h
IRQL PASSIVE_LEVEL

See Also

NET_REQUEST_QUEUE_CONFIG

NET_REQUEST_QUEUE_QUERY_DATA_HANDLER