SeSetAccessStateGenericMapping - NtDoc

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

VOID SeSetAccessStateGenericMapping(
  [in, out] PACCESS_STATE    AccessState,
  [in]      PGENERIC_MAPPING GenericMapping
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-sesetaccessstategenericmapping)

SeSetAccessStateGenericMapping function

Description

The SeSetAccessStateGenericMapping routine sets the generic mapping field of an ACCESS_STATE structure.

Parameters

AccessState [in, out]

Pointer to the ACCESS_STATE structure to be modified.

GenericMapping [in]

Pointer to a GENERIC_MAPPING structure to be copied into the ACCESS_STATE structure specified by AccessState.

Remarks

SeSetAccessStateGenericMapping sets the GenericMapping field in the AuxData member of an ACCESS_STATE structure. If this field is not set when the ACCESS_STATE structure is created, SeSetAccessStateGenericMapping must be called to set this field before the structure is used to perform access validation.

The generic mapping structure defines the mapping of generic access rights to specific and standard access rights for an object. When a client requests generic access rights to an object, the desired access mask is mapped to one of the access masks defined in this structure.

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

See also

ACCESS_STATE

GENERIC_MAPPING

SeAppendPrivileges