EVT_NET_REQUEST_DEFAULT_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 as the default handler for set object identifier (OID) requests.

Syntax

EVT_NET_REQUEST_DEFAULT_SET_DATA EvtNetRequestDefaultSetData;

void EvtNetRequestDefaultSetData(
  NETREQUESTQUEUE RequestQueue,
  NETREQUEST Request,
  NDIS_OID Oid,
  void *InputBuffer,
  UINT InputBufferLength
)
{...}

Parameters

RequestQueue

A handle to a net request queue object.

Request

A handle to a net request object.

Oid

Specifies the object identifier of the requested operation. The value is an OID_XXX code.

InputBuffer

A pointer to a caller-supplied buffer.

InputBufferLength

The size of the buffer pointed to by InputBuffer.

Return Value

This callback function does not return a value.

Remarks

Register your implementation of this callback function by setting the appropriate member of NET_REQUEST_QUEUE_CONFIG and then calling NetRequestQueueCreate.

NetAdapterCx calls the client driver's EVT_NET_REQUEST_DEFAULT_SET_DATA handler when it receives an OID set data request for which the client driver has not provided a specialized EVT_NET_REQUEST_SET_DATA handler.

Requirements

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