WlanDeviceServiceCommand function (wlanapi.h)
Allows an original equipment manufacturer (OEM) or independent hardware vendor (IHV) component to communicate with a device service on a particular wireless LAN interface.
DWORD WlanDeviceServiceCommand( [in] HANDLE hClientHandle, [in] const GUID *pInterfaceGuid, [in] LPGUID pDeviceServiceGuid, [in] DWORD dwOpCode, [in] DWORD dwInBufferSize, [in] PVOID pInBuffer, [in] DWORD dwOutBufferSize, [in, out, optional] PVOID pOutBuffer, [out] PDWORD pdwBytesReturned );
The client's session handle, obtained by a previous call to the WlanOpenHandle function.
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.
The GUID identifying the device service for this command.
The operational code identifying the operation to be performed on the device service.
The size, in bytes, of the input buffer.
A generic buffer for command input.
The size, in bytes, of the output buffer.
[in, out, optional] pOutBuffer
A generic buffer for command output.
The number of bytes returned.
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.
|Minimum supported client||Windows 10 Build 20348|
|Minimum supported server||Windows 10 Build 20348|