This function releases the removal lock, decrements the lock count with InterlockedDecrement, and then notifies the system that the device can be safely removed with SetEvent.
VOID ReleaseRemoveLock( IN PREMOVE_LOCK Lock, IN OPTIONAL PVOID Tag);
Parameters
- Lock
[in] Pointer to a REMOVE_LOCK structure. - Tag
[in] Optional. Set to NULL.
Return Values
None.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Usbclient.h.
See Also
InterlockedDecrement | REMOVE_LOCK | SetEvent
Send Feedback on this topic to the authors