REQUEST_OPLOCK_INPUT_BUFFER structure
Contains the information to request an opportunistic lock (oplock) or to acknowledge an oplock break with the FSCTL_REQUEST_OPLOCK control code.
Syntax
typedef struct _REQUEST_OPLOCK_INPUT_BUFFER { WORD StructureVersion; WORD StructureLength; DWORD RequestedOplockLevel; DWORD Flags; } REQUEST_OPLOCK_INPUT_BUFFER, *PREQUEST_OPLOCK_INPUT_BUFFER;
Members
- StructureVersion
-
The version of the REQUEST_OPLOCK_INPUT_BUFFER structure that is being used. Set this member to REQUEST_OPLOCK_CURRENT_VERSION.
- StructureLength
-
The length of this structure, in bytes. Must be set to
sizeof(REQUEST_OPLOCK_INPUT_BUFFER). - RequestedOplockLevel
-
A valid combination of the following oplock level values.
Valid combinations of these values are as follows:
OPLOCK_LEVEL_CACHE_READOPLOCK_LEVEL_CACHE_READ | OPLOCK_LEVEL_CACHE_HANDLEOPLOCK_LEVEL_CACHE_READ | OPLOCK_LEVEL_CACHE_WRITEOPLOCK_LEVEL_CACHE_READ | OPLOCK_LEVEL_CACHE_WRITE | OPLOCK_LEVEL_CACHE_HANDLE
For more information about these value combinations, see FSCTL_REQUEST_OPLOCK.
- Flags
-
A valid combination of the following request flag values.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 4/16/2013