This function deregisters a registered device.
BOOL DeregisterDevice( Handle hDevice );
TRUE indicates success. FALSE indicates failure.
The Device Manager calls this function when a device is removed from the system or if the system is being shut down. This function calls the device driver’s XXX_Deinit function.