EVT_NET_REQUEST_DEFAULT_QUERY_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 query object identifier (OID) requests.

Syntax

EVT_NET_REQUEST_DEFAULT_QUERY_DATA EvtNetRequestDefaultQueryData;

void EvtNetRequestDefaultQueryData(
  NETREQUESTQUEUE RequestQueue,
  NETREQUEST Request,
  NDIS_OID Oid,
  void *OutputBuffer,
  UINT OutputBufferLength
)
{...}

Parameters

RequestQueue

A handle to a net request queue object.

Request

A handle to a network request object.

Oid

The object identifier of the requested operation. The value is an OID_*XXX* code.

OutputBuffer

A pointer to a caller-supplied buffer.

OutputBufferLength

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

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_QUERY_DATA handler when it receives an OID query data request for which the client driver has not provided a specialized EVT_NET_REQUEST_QUERY_DATA handler.

Requirements

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