WdfWaitLockRelease function (wdfsync.h)

[Applies to KMDF and UMDF]

The WdfWaitLockRelease method releases a specified wait lock.

Syntax

void WdfWaitLockRelease(
  [in] WDFWAITLOCK Lock
);

Parameters

[in] Lock

A handle to a framework wait-lock object, obtained by a previous call to WdfWaitLockCreate.

Return value

None

Remarks

A bug check occurs if the driver supplies an invalid object handle.

The WdfWaitLockRelease method releases a wait lock that the driver acquired by a previous call to WdfWaitLockAcquire.

For more information about wait locks, see Synchronization Techniques for Framework-Based Drivers.

Examples

For a code example that uses WdfWaitLockRelease, see WdfWaitLockAcquire.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfsync.h (include Wdf.h)
Library Wdf01000.sys (KMDF); WUDFx02000.dll (UMDF)
IRQL <=DISPATCH_LEVEL
DDI compliance rules DriverCreate(kmdf), KmdfIrql(kmdf), KmdfIrql2(kmdf), KmdfIrqlExplicit(kmdf), WdfWaitlock(kmdf), WdfWaitlockRelease(kmdf)

See also

WdfWaitLockAcquire

WdfWaitLockCreate