情報
要求されたトピックは次のとおりです。しかし、このトピックはこのライブラリには含まれていません。

WdfObjectReleaseLock メソッド

The WdfObjectReleaseLock method releases an object's synchronization lock.

構文

VOID WdfObjectReleaseLock(
  [in]  WDFOBJECT Object
);

パラメーター

Object [in]

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

戻り値

None.

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.

The following code example releases an object's synchronization lock. The driver previously obtained the object handle by calling WdfDeviceCreate or WdfIoQueueCreate.

WdfObjectReleaseLock(Object);

要件

バージョン

Available in version 1.0 and later versions of KMDF.

ヘッダー

Wdfsync.h (includeWdf.h)

ライブラリ

Wdf<MajorVersionNumber>000.sys (see Framework Library Versions.)

IRQL

<=DISPATCH_LEVEL

参照

WdfObjectAcquireLock

 

 

コミュニティの追加

表示:
© 2014 Microsoft