WdfWaitLockRelease method

[Applies to KMDF and UMDF]

The WdfWaitLockRelease method releases a specified wait lock.

Syntax


VOID WdfWaitLockRelease(
  [in]  WDFWAITLOCK Lock
);

Parameters

Lock [in]

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

Return value

None.

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

Remarks

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

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, KmdfIrql, KmdfIrql2, WdfWaitlock, WdfWaitlockRelease

See also

WdfWaitLockAcquire
WdfWaitLockCreate

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.