LOCK_OPERATION enumeration (wdm.h)

The LOCK_OPERATION enumeration specifies the type of access that is appropriate for a type of I/O operation.

Syntax

typedef enum _LOCK_OPERATION {
  IoReadAccess,
  IoWriteAccess,
  IoModifyAccess
} LOCK_OPERATION;

Constants

 
IoReadAccess
This value indicates that a driver can examine the contents of a buffer but cannot change the contents.
IoWriteAccess
This value indicates that a driver can examine and change the contents of a buffer.
IoModifyAccess
This value indicates that a driver can examine and change the contents of a buffer.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating system.
Header wdm.h (include Wdm.h)

See also

FltDecodeParameters

MmProbeAndLockPages