DeregisterDevice (Windows Embedded CE 6.0)
1/6/2010
This function has been deprecated. Usage is discouraged; use DeactivateDevice instead.
Note
This function is obsolete as of Windows Embedded CE 6.0.
Syntax
BOOL DeregisterDevice(
Handle hDevice
);
Parameters
- hDevice
[in] Handle to a registered device returned from RegisterDevice.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
The Device Manager calls this function if the user removes a device from the system or if the system is shutting down.
You can use the DeregisterDevice function to indicate if the user has removed a device from the system or if the system has shut down.
This function calls the device driver's XXX_Deinit (Device Manager) function.**
Requirements
Header | winbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 1.0 and later |
See Also
Reference
Device Manager Functions
DeactivateDevice
RegisterDevice
XXX_Deinit (Device Manager)