PFN_WDFOBJECTRELEASELOCK - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfsync.h

VOID WdfObjectReleaseLock(
  _In_ WDFOBJECT Object
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfsync-wdfobjectreleaselock)

WdfObjectReleaseLock function

Description

[Applies to KMDF and UMDF]

The WdfObjectReleaseLock method releases an object's synchronization lock.

Syntax

VOID WdfObjectReleaseLock(
  _In_ WDFOBJECT Object
);

Parameters

Object [in]

A handle to a framework device object or a framework queue object.

Remarks

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

The WdfObjectReleaseLock method releases the synchronization lock that a driver acquired by previously calling WdfObjectAcquireLock. WdfObjectReleaseLock also restores the driver's IRQL to the value that it had before the driver called WdfObjectAcquireLock.

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

See also

WdfObjectAcquireLock