// wlanihv.h
DOT11EXTIHV_GET_VERSION_INFO Dot11extihvGetVersionInfo;
DWORD Dot11extihvGetVersionInfo(
[out] PDOT11_IHV_VERSION_INFO pDot11IHVVersionInfo
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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 Dot11ExtIhvGetVersionInfo function immediately after loading the IHV Extensions DLL to determine the version of the interface supported by the DLL.
pDot11IHVVersionInfo [out]A pointer to a DOT11_IHV_VERSION_INFO structure, which contains the interface version numbers.
If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.
DOT11EXTIHV_GET_VERSION_INFO Dot11ExtIhvGetVersionInfo;
DWORD APIENTRY Dot11ExtIhvGetVersionInfo(
_Out_ PDOT11_IHV_VERSION_INFO pDot11IHVVersionInfo
)
{ ... }
The operating system calls the Dot11ExtIhvGetVersionInfo function to determine what version of the interface to use with the IHV Extension DLL. The operating system makes this call immediately after loading the DLL, and this call is the first that the operating system makes into the DLL.
Unlike other IHV Extensibility and Handler functions, whose addresses are resolved through a table of function pointers that are exchanged through a call to Dot11ExtIhvInitService, the address of the Dot11ExtIhvGetVersionInfo function is resolved by the operating system by the operating system calling the GetProcAddress function. As a result, the developer of the IHV Extensions DLL must follow these guidelines.
For more information about GetProcAddress, refer to the Microsoft Windows SDK documentation.