WdfObjectReleaseLock function (wdfsync.h)
[Applies to KMDF and UMDF]
The WdfObjectReleaseLock method releases an object's synchronization lock.
Syntax
VOID WdfObjectReleaseLock(
_In_ WDFOBJECT Object
);
Parameters
[in] Object
A handle to a framework device object or a framework queue object.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfsync.h (include Wdf.h) |
IRQL | <=DISPATCH_LEVEL |
DDI compliance rules | DriverCreate(kmdf), KmdfIrql(kmdf), KmdfIrql2(kmdf), KmdfIrqlExplicit(kmdf) |