Share via


WlanIhvControl (Compact 7)

3/12/2014

This function provides a mechanism for independent hardware vendor (IHV) control of WLAN drivers or services.

Syntax

DWORD WINAPI WlanIhvControl(
  __in         HANDLE hClientHandle,
  __in         const GUID* pInterfaceGuid,
  __in         WLAN_IHV_CONTROL_TYPE Type,
  __in         DWORD dwInBufferSize,
  __in         PVOID pInBuffer,
  __in         DWORD dwOutBufferSize,
  __inout_opt  PVOID pOutBuffer,
  __out        PDWORD pdwBytesReturned
);

Parameters

  • hClientHandle
    Client session handle, obtained by a previous call to the WlanOpenHandle function.
  • pInterfaceGuid
    GUID of the interface.
  • Type
    WLAN_IHV_CONTROL_TYPE structure that specifies the type of software bypassed by the IHV control function.
  • dwInBufferSize
    Size, in bytes, of the input buffer.
  • pInBuffer
    Generic buffer for driver or service interface input.
  • dwOutBufferSize
    Size, in bytes, of the output buffer.
  • pOutBuffer
    Generic buffer for driver or service interface output.
  • pdwBytesReturned
    Number of bytes returned.

Return Values

Value Description

ERROR_SUCCESS

The function succeeds.

ERROR_ACCESS_DENIED

The caller does not have sufficient permissions to perform this operation.

ERROR_INVALID_PARAMETER

hClientHandle is NULL or invalid, pInterfaceGuid is NULL, or pdwBytesReturned is NULL.

ERROR_INVALID_HANDLE

The handle hClientHandle was not found in the handle table.

ERROR_NOT_SUPPORTED

This function was called from an unsupported platform.

RPC_STATUS

Can be any Remote Procedure Call (RPC) error code. The RPC call may be unsuccessful due to Wlan RPC server issues, such as when the RPC server is not started. Refer to RPC for more information.

See Also

Reference

Native Wi-Fi Functions
WlanOpenHandle
WLAN_IHV_CONTROL_TYPE
WlanFreeMemory
Native Wi-Fi Reference