Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function unloads the driver for the specified device and deletes the active key of the device from the registry.
BOOL DeactivateDevice(HANDLE hDevice);
Parameters
- hDevice
[in] Handle to an active device. The ActivateDevice and ActivateDeviceEx functions return this value.
Return Values
Nonzero indicates success. Zero indicates failure.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Winbase.h
Link Library: Coredll.lib.
See Also
Device Interface Notifications | ActivateDevice | ActivateDeviceEx
Send Feedback on this topic to the authors