Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

DeactivateDevice

Other versions of this page are also available for the following:
Windows Mobile SupportedWindows Embedded CE Supported
8/28/2008

This function unloads the driver for the specified device and deletes the active key of the device from the registry.


BOOL DeactivateDevice(
  HANDLE hDevice
);
hDevice

[in] Handle to an active device. The ActivateDevice and ActivateDeviceEx functions return this value.

Nonzero indicates success. Zero indicates failure.

Headerwinbase.h
Librarycoredll.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.