NET_REQUEST_QUEUE_CONFIG structure

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.

The NET_REQUEST_QUEUE_CONFIG structure represents configuration information for a net request queue.

Syntax

typedef struct _NET_REQUEST_QUEUE_CONFIG {
  ULONG                                Size;
  NETADAPTER                           Adapter;
  NET_REQUEST_QUEUE_TYPE               Type;
  PFN_NET_REQUEST_DEFAULT_SET_DATA     EvtRequestDefaultSetData;
  PFN_NET_REQUEST_DEFAULT_QUERY_DATA   EvtRequestDefaultQueryData;
  PFN_NET_REQUEST_DEFAULT_METHOD       EvtRequestDefaultMethod;
  PFN_NET_REQUEST_DEFAULT              EvtRequestDefault;
  NET_REQUEST_QUEUE_ADD_HANDLER_ERROR  AddHandlerError;
  ULONG                                SizeOfSetDataHandler;
  ULONG                                SizeOfQueryDataHandler;
  ULONG                                SizeOfMethodHandler;
  NET_REQUEST_QUEUE_SET_DATA_HANDLER   *SetDataHandlers;
  NET_REQUEST_QUEUE_QUERY_DATA_HANDLER *QueryDataHandlers;
  NET_REQUEST_QUEUE_METHOD_HANDLER     *MethodHandlers;
} NET_REQUEST_QUEUE_CONFIG;

Members

Size

The size of this structure, in bytes.

Adapter

The net adapter object that the client created in a prior call to NetAdapterCreate.

Type

A NET_REQUEST_QUEUE_TYPE enumeration that specifies the type of queue.

EvtRequestDefaultSetData

A pointer to the client driver's implementation of the EVT_NET_REQUEST_DEFAULT_SET_DATA event callback function.

EvtRequestDefaultQueryData

A pointer to the client driver's implementation of the EVT_NET_REQUEST_DEFAULT_QUERY_DATA event callback function.

EvtRequestDefaultMethod

A pointer to the client driver's implementation of the EVT_NET_REQUEST_DEFAULT_METHOD event callback function.

EvtRequestDefault

A pointer to the client driver's implementation of the EVT_NET_REQUEST_DEFAULT event callback function.

AddHandlerError

A bit field tracking any errors encountered during operations to add custom handlers.

SizeOfSetDataHandler

A ULONG that specifies the size of the SetDataHandlers member.

SizeOfQueryDataHandler

A ULONG that specifies the size of the QueryDataHandlers member.

SizeOfMethodHandler

A ULONG that specifies the size of the MethodHandlers member.

SetDataHandlers

A pointer to the first NET_REQUEST_QUEUE_SET_DATA_HANDLER structure of the list of custom set request handlers.

QueryDataHandlers

A pointer to the first NET_REQUEST_QUEUE_QUERY_DATA_HANDLER structure of the list of custom query request handlers.

MethodHandlers

A pointer to the first NET_REQUEST_QUEUE_METHOD_HANDLER structure of the list of custom method request handlers.

Remarks

The client driver must call NET_REQUEST_QUEUE_CONFIG_INIT to initialize this structure.

The client driver passes an initialized NET_REQUEST_QUEUE_CONFIG structure as an input parameter value to NetRequestQueueCreate.

Requirements

   
Minimum KMDF version 1.21
Header netrequestqueue.h