Share via


ReleaseRemoveLock (Compact 2013)

3/26/2014

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.

Syntax

VOID ReleaseRemoveLock(
  IN PREMOVE_LOCK Lock,
  IN OPTIONAL PVOID Tag
);

Parameters

  • Tag
    [in] Optional. Set to NULL.

Return Value

None.

Requirements

Header

usbclient.h

See Also

Reference

USB Host Client Driver Functions
REMOVE_LOCK

Other Resources

InterlockedDecrement
SetEvent