This function closes a device-handle.
Definition
MSC_STATUS
MSC_CloseDevice(
MSC_HANDLE Handle
);
Parameter
Handle
Device-Handle, which has been returned by a previous call of the function MSC_OpenDevice.
Return value
If successful, MSC_STATUS_SUCCESS will be returned. In case of an error, an error code will be returned.
Comments
If the last handle to a device is closed, all internal information about the device state will be cleared.
See also