FsRtlInitializeOplock initializes an opportunistic lock (oplock) pointer.
void FsRtlInitializeOplock( POPLOCK Oplock );
Caller-supplied pointer variable that receives the initialized opportunistic lock pointer. This variable must be initialized to NULL before the initial call to FsRtlInitializeOplock.
File systems and filter drivers call FsRtlInitializeOplock to initialize an opaque opportunistic lock pointer.
When the opportunistic lock pointer is no longer needed, it can be uninitialized by calling FsRtlUninitializeOplock. The uninitialized opportunistic lock pointer can then be initialized for reuse by calling FsRtlInitializeOplock.
For detailed information about opportunistic locks, see the Microsoft Windows SDK documentation.
Minifilters should call FltInitializeOplock instead of FsRtlInitializeOplock.
|Header||ntifs.h (include Ntifs.h)|