![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A stream interface driver DLL can be unloaded in two ways, depending on the method by which the DLL was loaded. If the Device Manager loaded the DLL, the Device Manager detects the disconnection of the stream interface driver's peripheral from the Windows CE–based platform, such as when a PC Card is ejected from its socket. At this point, the Device Manager removes the driver's entry from the HKEY_LOCAL_MACHINE\Drivers\Activekey, calls the DeactivateDevicefunction to remove the peripheral's device file name from the file system, and notifies the FreeLibraryfunction to unload the DLL. However, if an application loaded the DLL, the application must unload the DLL before it exits by calling DeactivateDevice.
Last updated on Tuesday, July 13, 2004