Dot11ExtQueryVirtualStationProperties function

The IHV Extensions DLL calls the Dot11ExtQueryVirtualStationProperties function to query the properties of a virtual 802.11 station.


DWORD APIENTRY Dot11ExtQueryVirtualStationProperties(
  _In_opt_    HANDLE hDot11SvcHandle,
  _Out_       BOOL *pbIsVirtualStation,
  _Out_       GUID *pgPrimary,
  _Reserved_  LPVOID pvReserved


hDot11SvcHandle [in, optional]

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.

pbIsVirtualStation [out]

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.

pgPrimary [out]

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.


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.



Available in Windows 7 and later versions of the Windows operating systems.


Wlanihv.h (include Wlanihv.h)

See also




Send comments about this topic to Microsoft

© 2014 Microsoft