次の方法で共有


WlanGetInterfaceCapability (Compact 2013)

3/26/2014

This function retrieves the capabilities of an interface.

Syntax

DWORD WINAPI WlanGetInterfaceCapability(
  __in        HANDLE hClientHandle,
  __in        const GUID* pInterfaceGuid,
  __reserved  PVOID pReserved,
  __out       PWLAN_INTERFACE_CAPABILITY* ppCapability
);

Parameters

  • hClientHandle
    The client's session handle, obtained by a previous call to the WlanOpenHandle function.
  • pInterfaceGuid
    The GUID of this interface.
  • pReserved
    Reserved; set to NULL.
  • ppCapability
    A WLAN_INTERFACE_CAPABILITY structure that contains information about the capabilities of the specified interface.

Return Values

Value

Description

ERROR_SUCCESS

The function succeeds.

ERROR_INVALID_PARAMETER

hClientHandle is NULL or invalid, pReserved is not NULL, pInterfaceGuid is NULL, or ppCapability 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

Various error codes.

Remarks

The caller is responsible for calling the WlanFreeMemory function to free the memory allocated to ppCapability.

See Also

Reference

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