Share via


ReleaseRemoveLock (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

USB Host Client Driver Functions
REMOVE_LOCK

Other Resources

InterlockedDecrement
SetEvent