次の方法で共有


Dot11ExtIhvGetVersionInfo (Compact 2013)

3/26/2014

The operating system calls this function immediately after it loads the IHV Extensions DLL to determine the version of the interface supported by the DLL.

Syntax

DWORD WINAPI Dot11ExtIhvGetVersionInfo(
    PDOT11_IHV_VERSION_INFO pDot11IHVVersionInfo
);

Parameters

  • pDot11IHVVersionInfo
    [out] A pointer to a DOT11_IHV_VERSION_INFO structure, which contains the interface version numbers.

Return Value

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

Remarks

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 it loads 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 when the operating system calls the GetProcAddress function. Therefore, the developer of the IHV Extensions DLL must follow these guidelines:

  • The DLL must implement a function named Dot11ExtIhvGetVersionInfo, which has the format that is described in this topic.
  • The EXPORTS statement of the source module-definition (.def) file, which is used to build the IHV Extensions DLL, must contain a function name entry for the Dot11ExtIhvGetVersionInfo function.

Requirements

Header

wlanihv.h

See Also

Reference

Native 802.11 IHV Handler Functions
DOT11_IHV_VERSION_INFO
Dot11ExtIhvInitService
Native 802.11 IHV Extensions DLL

Other Resources

GetProcAddress