Compartilhar via


DeactivateDevice (Windows CE 5.0)

Send Feedback

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

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.