DOT11EXTIHV_INIT_VIRTUAL_STATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wlanihv.h

DOT11EXTIHV_INIT_VIRTUAL_STATION Dot11extihvInitVirtualStation;

DWORD Dot11extihvInitVirtualStation(
  [in] PDOT11EXT_VIRTUAL_STATION_APIS pDot11ExtVSAPI,
       LPVOID pvReserved
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wlanihv-dot11extihv_init_virtual_station)

DOT11EXTIHV_INIT_VIRTUAL_STATION callback

Description

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 operating system calls the Dot11ExtIhvInitVirtualStation function to initialize the IHV Extensions DLL for virtual station operations, and to initialize the API interface between the operating system and the DLL.

Parameters

pDot11ExtVSAPI [in]

A pointer to a DOT11EXT_VIRTUAL_STATION_APIS structure, which contains the addresses of the IHV Extensibility virtual station functions that are supported by the operating system. The operating system formats this parameter with the function addresses before making a call to the Dot11ExtIhvInitVirtualStation function.

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.

Prototype

DOT11EXTIHV_INIT_VIRTUAL_STATION Dot11ExtIhvInitVirtualStation;

DWORD APIENTRY Dot11ExtIhvInitVirtualStation(
  _In_       PDOT11EXT_VIRTUAL_STATION_APIS pDot11ExtVSAPI,
  _Reserved_ LPVOID                         pvReserved
)
{ ... }

Remarks

It is optional for the IHV Extensions DLL to implement and export this function.

The operating system calls the Dot11ExtIhvInitVirtualStation function immediately after it calls the Dot11ExtIhvInitService function, but before it calls the Dot11ExtIhvInitAdapter function.

In response to a call to Dot11ExtIhvInitVirtualStation, the IHV Extensions DLL can initialize its internal data structures with the information provided from the Dot11ExtIhvInitService function call.

Note The IHV Extensions DLL is allowed to call the virtual station API functions that the pDot11ExtVSAPI parameter points to only after the Dot11ExtIhvInitVirtualStation function returns.

The operating system resolves the address of the Dot11ExtIhvInitVirtualStation function by calling the GetProcAddress function. As a result, the developer of the IHV Extensions DLL must follow these guidelines if this function is implemented.

For more information about GetProcAddress, see the Microsoft Windows SDK documentation.

See also

DOT11EXT_APIS

DOT11EXT_IHV_HANDLERS

Dot11ExtIhvGetVersionInfo