DOT11EXT_SET_AUTH_ALGORITHM callback function (wlanihv.h)
The IHV Extensions DLL calls the Dot11ExtSetAuthAlgorithm function to enable an authentication algorithm on the wireless LAN (WLAN) adapter.
Syntax
DOT11EXT_SET_AUTH_ALGORITHM Dot11extSetAuthAlgorithm;
DWORD Dot11extSetAuthAlgorithm(
[in, optional] HANDLE hDot11SvcHandle,
[in] DWORD dwAuthAlgo
)
{...}
Parameters
[in, optional] hDot11SvcHandle
The handle used by the operating system to reference the WLAN adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.
[in] dwAuthAlgo
A DOT11_AUTH_ALGORITHM enumerator value that identifies the authentication algorithm.
If the value is within the range of DOT11_AUTH_ALGO_IHV_START through DOT11_AUTH_ALGO_IHV_END, the IHV Extensions DLL enables a proprietary authentication algorithm supported by the WLAN adapter.
Otherwise, the DLL is responsible for the processing of a standard authentication algorithm supported by the operating system. In this situation, the operating system is not involved with the authentication processing over a basic service set (BSS) network connection through the WLAN adapter.
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 Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | wlanihv.h (include Wlanihv.h) |