Bewerken

Delen via


FILE_ACCESS_INFORMATION structure (ntifs.h)

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

Syntax

typedef struct _FILE_ACCESS_INFORMATION {
  ACCESS_MASK AccessFlags;
} FILE_ACCESS_INFORMATION, *PFILE_ACCESS_INFORMATION;

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.

Requirements

Requirement Value
Minimum supported client Windows XP
Header ntifs.h (include Ntifs.h, Fltkernel.h)

See also

ACCESS_MASK

ZwQueryInformationFile