Skip to content

Latest commit

 

History

History
111 lines (76 loc) · 2.96 KB

nf-wlanapi-wlandeviceservicecommand.md

File metadata and controls

111 lines (76 loc) · 2.96 KB
UID title description tech.root helpviewer_keywords ms.date targetos 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:wlanapi.WlanDeviceServiceCommand
WlanDeviceServiceCommand
Allows an OEM or IHV component to communicate with a device service on a particular wireless LAN interface.
nwifi
WlanDeviceServiceCommand
01/07/2019
Windows
function
wlanapi.h
Windows 10 Build 20348
Windows 10 Build 20348
apiref
DllExport
wlanapi.dll
WlanDeviceServiceCommand
WlanDeviceServiceCommand
wlanapi/WlanDeviceServiceCommand
c++

-description

Allows an original equipment manufacturer (OEM) or independent hardware vendor (IHV) component to communicate with a device service on a particular wireless LAN interface.

-parameters

-param hClientHandle [in]

Type: HANDLE

The client's session handle, obtained by a previous call to the WlanOpenHandle function.

-param pInterfaceGuid [in]

Type: CONST GUID*

A pointer to the GUID of the wireless LAN interface to be queried. You can determine the GUID of each wireless LAN interface enabled on a local computer by using the WlanEnumInterfaces function.

-param pDeviceServiceGuid [in]

Type: GUID*

The GUID identifying the device service for this command.

-param dwOpCode [in]

Type: DWORD

The operational code identifying the operation to be performed on the device service.

-param dwInBufferSize [in]

Type: DWORD

The size, in bytes, of the input buffer.

-param pInBuffer [in]

Type: PVOID

A generic buffer for command input.

-param dwOutBufferSize [in]

Type: DWORD

The size, in bytes, of the output buffer.

-param pOutBuffer [in, out, optional]

Type: PVOID

A generic buffer for command output.

-param pdwBytesReturned [out]

Type: PDWORD

The number of bytes returned.

-returns

Type: HRESULT

If the function succeeds, the return value is ERROR_SUCCESS. If the function fails with ERROR_ACCESS_DENIED, then the caller doesn't have sufficient permissions to perform this operation. The caller needs to either have admin privilege, or needs to be a UMDF driver.

-remarks

-see-also