WifiRequestSetBytesNeeded - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wificx.h

VOID WifiRequestSetBytesNeeded(
  WIFIREQUEST Request,
  UINT        BytesNeeded
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wificx-wifirequestsetbytesneeded)

Description

WiFiCx drivers call the WifiRequestSetBytesNeeded function to set a larger buffer size for a command message.

Parameters

Request

[_In_] A handle to the framework request object passed in from the EvtWifiDeviceSendCommand callback function.

BytesNeeded

[_In_] The number of bytes needed.

Remarks

If WiFiCx sends a set command to the client driver's EvtWifiDeviceSendCommand callback function and the request doesn't contain a large enough buffer, the driver should call WifiRequestSetBytesNeeded to set the required buffer size and then fail the request with status BUFFER_OVERFLOW.

See also

EvtWifiDeviceSendCommand

Handling WiFiCx command messages