Share via


Dot11ExtIhvAdapterReset (Compact 2013)

3/26/2014

The operating system calls this function to reset the wireless LAN (WLAN) adapter.

Syntax

DWORD WINAPI Dot11ExtIhvAdapterReset (
    HANDLE hIhvExtAdapter
);

Parameters

  • hIhvExtAdapter
    [in] The handle that is used by the IHV Extensions DLL to reference the WLAN adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.

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 Dot11ExtIhvAdapterReset when one of the following events occurs.

  • The WLAN adapter performs a disconnection operation.
  • The operating system resets the Native 802.11 miniport driver, which manages the adapter, through a set request of OID_DOT11_RESET_REQUEST.

The Dot11ExtIhvAdapterReset function must restore the WLAN adapter to the same state as when the DLL’s Dot11ExtIhvInitAdapter function was called.

Requirements

Header

wlanihv.h

See Also

Reference

Native 802.11 IHV Handler Functions
Dot11ExtIhvInitAdapter
OID_DOT11_RESET_REQUEST
Native 802.11 IHV Extensions DLL