The SeSetAccessStateGenericMapping routine sets the generic mapping field of an ACCESS_STATE structure.
VOID SeSetAccessStateGenericMapping( _Inout_ PACCESS_STATE AccessState, _In_ PGENERIC_MAPPING GenericMapping );
Pointer to the ACCESS_STATE structure to be modified.
Pointer to a GENERIC_MAPPING structure to be copied into the ACCESS_STATE structure specified by AccessState.
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.
|Header||ntifs.h (include Ntifs.h)|