FILE_ACCESS_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

/**
 * The FILE_ACCESS_INFORMATION structure is used to query for or set the access rights of a file.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_file_access_information
 */
typedef struct _FILE_ACCESS_INFORMATION
{
    ACCESS_MASK AccessFlags;
} FILE_ACCESS_INFORMATION, *PFILE_ACCESS_INFORMATION;

#endif

View code on GitHub
// ntifs.h

typedef struct _FILE_ACCESS_INFORMATION {
  ACCESS_MASK AccessFlags;
} FILE_ACCESS_INFORMATION, *PFILE_ACCESS_INFORMATION;
View the official Windows Driver Kit DDI reference

NtDoc

This structure is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ns-ntifs-_file_access_information)

_FILE_ACCESS_INFORMATION structure

Description

The FILE_ACCESS_INFORMATION structure is used to query for or set the access rights of a file.

Members

AccessFlags

Flags that specify a set of access rights in the access mask of an access control entry. This member is a value of type ACCESS_MASK.

Remarks

This structure is used by the ZwQueryInformationFile routine.

The AccessFlags parameter is an access mask that encodes the user rights to a file object. An access mask can be used to encode the rights to an object that is assigned to a user or a user group, or to encode the requested access when a user opens an object. For more information, see ACCESS_MASK.

See also

ACCESS_MASK

ZwQueryInformationFile