SeSetAccessStateGenericMapping function

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

Syntax

void SeSetAccessStateGenericMapping(
  PACCESS_STATE    AccessState,
  PGENERIC_MAPPING GenericMapping
);

Parameters

AccessState

Pointer to the ACCESS_STATE structure to be modified.

GenericMapping

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

Return value

None

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 the documentation on these topics in the Microsoft Windows SDK.

Requirements

   
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL

See also

ACCESS_STATE

GENERIC_MAPPING

SeAppendPrivileges