PFILE_MODE_INFORMATION Struct Reference

Used to query or set the access mode of a file. More...

#include <fileinfo.h>

Data Fields

ULONG Mode
 

Detailed Description

Used to query or set the access mode of a file.

The struct is requested during IRP_MJ_QUERY_INFORMATION with query FileAllInformation

Field Documentation

ULONG PFILE_MODE_INFORMATION::Mode

Specifies the mode in which the file will be accessed following a create-file or open-file operation. This parameter is either zero or the bitwise OR of one or more of the following file option flags:

  • FILE_WRITE_THROUGH
  • FILE_SEQUENTIAL_ONLY
  • FILE_NO_INTERMEDIATE_BUFFERING
  • FILE_SYNCHRONOUS_IO_ALERT
  • FILE_SYNCHRONOUS_IO_NONALERT
  • FILE_DELETE_ON_CLOSE

The documentation for this struct was generated from the following file: