Skip to content

Latest commit

 

History

History
65 lines (53 loc) · 1.79 KB

nf-wificx-wifirequestsetbytesneeded.md

File metadata and controls

65 lines (53 loc) · 1.79 KB
UID tech.root title ms.date ms.topic targetos description req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:wificx.WifiRequestSetBytesNeeded
netvista
WifiRequestSetBytesNeeded (wificx.h)
08/24/2021
language-reference
Windows
WiFiCx drivers call WifiRequestSetBytesNeeded to set a larger buffer size for a command message.
function
wificx.h
<= DISPATCH_LEVEL
Windows 11
Windows Server 2022
apiref
HeaderDef
wificx.h
WifiRequestSetBytesNeeded
WifiRequestSetBytesNeeded
wificx/WifiRequestSetBytesNeeded
c++

-description

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

-parameters

-param Request

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

-param 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