DOT11EXT_QUERY_VIRTUAL_STATION_PROPERTIES callback function (wlanihv.h)

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.
 
The IHV Extensions DLL calls the Dot11ExtQueryVirtualStationProperties function to query the properties of a virtual 802.11 station.

Syntax

DOT11EXT_QUERY_VIRTUAL_STATION_PROPERTIES Dot11extQueryVirtualStationProperties;

DWORD Dot11extQueryVirtualStationProperties(
  [in, optional] HANDLE hDot11SvcHandle,
  [out]          BOOL *pbIsVirtualStation,
  [out]          GUID *pgPrimary,
                 LPVOID pvReserved
)
{...}

Parameters

[in, optional] hDot11SvcHandle

A handle used by the operating system to reference the primary physical wireless LAN (WLAN) adapter. This handle value was received as the hDot11SvcHandle parameter through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.

[out] pbIsVirtualStation

A pointer to a Boolean value that indicates whether the primary physical WLAN adapter pointed to by the hDot11SvcHandle parameter is a virtual station adapter or not. If the value is TRUE, the queried adapter is a virtual station, otherwise it is not a virtual station.

[out] pgPrimary

A pointer to a GUID value that identifies the primary physical WLAN adapter that hosts a virtual station. This parameter is valid only if pbIsVirtualStation points to a value that is TRUE.

pvReserved

This parameter is reserved for use by the operating system and should be NULL.

Return value

If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.

Requirements

Requirement Value
Minimum supported client Available in Windows 7 and later versions of the Windows operating systems.
Target Platform Desktop
Header wlanihv.h (include Wlanihv.h)

See also

Dot11ExtIhvInitAdapter