#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;
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
This structure is documented in Windows Driver Kit.
The FILE_ACCESS_INFORMATION structure is used to query for or set the access rights of a file.
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.
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.