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.
3/26/2014
This function unloads the driver for the specified device and deletes the active key of the device from the registry.
Syntax
BOOL DeactivateDevice(
HANDLE hDevice
);
Parameters
- hDevice
[in] Handle to an active device. The ActivateDevice and ActivateDeviceEx functions return this value.
Return Value
Nonzero indicates success. Zero indicates failure.
Requirements
Header |
winbase.h |
Library |
coredll.lib |