GENERIC_MAPPING - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

typedef struct _GENERIC_MAPPING {
  ACCESS_MASK GenericRead;
  ACCESS_MASK GenericWrite;
  ACCESS_MASK GenericExecute;
  ACCESS_MASK GenericAll;
} GENERIC_MAPPING;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdm-_generic_mapping)

_GENERIC_MAPPING structure

Description

The GENERIC_MAPPING structure describes the ACCESS_MASK value of specific access rights associated with each type of generic access right.

Members

GenericRead

Describes the specific access rights corresponding to the GENERIC_READ access right.

GenericWrite

Describes the specific access rights corresponding to the GENERIC_WRITE access right.

GenericExecute

Describes the specific access rights corresponding to the GENERIC_EXECUTE access right.

GenericAll

Describes the specific access rights corresponding to the GENERIC_ALL access right.

Remarks

Use the IoGetFileObjectGenericMapping routine to get the specific access rights corresponding to generic access rights for file objects. Use RtlMapGenericMask to subtract off the access rights within an ACCESS_MASK that do not derive from generic access rights.

For more information about generic access rights, see the Win32 reference page for the GENERIC_MAPPING structure.

See also

ACCESS_MASK

IoGetFileObjectGenericMapping

RtlMapGenericMask