NET_REQUEST_QUEUE_SET_DATA_HANDLER_INIT 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.

Initializes a caller-allocated NET_REQUEST_QUEUE_SET_DATA_HANDLER structure.

Syntax

void NET_REQUEST_QUEUE_SET_DATA_HANDLER_INIT(
  NET_REQUEST_QUEUE_SET_DATA_HANDLER *SetDataHandler,
  NDIS_OID                           Oid,
  PFN_NET_REQUEST_SET_DATA           EvtRequestSetData,
  UINT                               MinimumInputLength
);

Parameters

SetDataHandler

A pointer to the driver-allocated NET_REQUEST_QUEUE_SET_DATA_HANDLER structure.

Oid

The NDIS_OID identifier for the request. The value is an OID_XXX code.

EvtRequestSetData

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

MinimumInputLength

The required minimum input length for the request.

Return Value

This method does not return a value.

Requirements

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