DLL Stop Operations
The operating system stops and unloads the IHV Extensions DLL whenever.
The last wireless LAN (WLAN) adapter managed by the DLL is either removed or disabled.
The host computer is reset or shut down.
The operating system follows this sequence when stopping and unloading the IHV Extensions DLL.
The operating system first calls the Dot11ExtIhvDeinitAdapter IHV Handler function for every WLAN adapter managed by the IHV Extensions DLL. For more information about this operation, see 802.11 WLAN Adapter Removal.
After the call to Dot11ExtIhvDeinitAdapter, the IHV Extensions DLL must not call any IHV Extensions function related to adapter-specific operations, such as Dot11ExtNicSpecificExtension.
The operating system then calls the Dot11ExtIhvDeinitService IHV Handler function. When this function is called, the IHV Extensions DLL must free all allocated resources and prepare itself for unloading.
After the call to Dot11ExtIhvDeinitService, the IHV Extensions DLL must not call any IHV Extensions function.
Finally, the operating system calls the DllMain function in the IHV Extensions DLL with the fdwReason parameter set to DLL_PROCESS_DETACH. For more information about DllMain and DLLs, see About Dynamic-Link Libraries.
For more information about the IHV Extensibility functions, see Native 802.11 IHV Extensibility Functions.