EVT_NET_REQUEST_SET_DATA callback 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.

Implemented by the client driver to handle a specific OID set request.

Syntax

EVT_NET_REQUEST_SET_DATA EvtNetRequestSetData;

void EvtNetRequestSetData(
  NETREQUESTQUEUE RequestQueue,
  NETREQUEST Request,
  void *InputBuffer,
  UINT InputBufferLength
)
{...}

Parameters

RequestQueue

A handle to a net request queue object.

Request

A handle to a network request object.

InputBuffer

A pointer to a caller-supplied buffer.

InputBufferLength

The length, in bytes, of the request's input buffer, if an input buffer is available.

Return Value

This callback function does not return a value.

Remarks

To register an EVT_NET_REQUEST_SET_DATA callback function, the client driver calls NET_REQUEST_QUEUE_CONFIG_ADD_SET_DATA_HANDLER or NET_REQUEST_QUEUE_CONFIG_ADD_INITIALIZED_SET_DATA_HANDLER, and then calls NetRequestQueueCreate.

Your client driver can provide one or more specialized handlers for specific OID set requests. In addition, it can also provide a generic EVT_NET_REQUEST_DEFAULT_SET_DATA callback function.

Requirements

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