RtlMapGenericMask function (ntddk.h)
The RtlMapGenericMask routine determines the nongeneric access rights specified by an ACCESS_MASK.
NTSYSAPI VOID RtlMapGenericMask( PACCESS_MASK AccessMask, PGENERIC_MAPPING GenericMapping );
[in, out] Pointer to an ACCESS_MASK variable. The routine updates this to contain only those access rights that are not also granted by any GENERIC_XXX access rights originally specified the variable. The routine also clears any GENERIC_XXX bits that are set.
[in] Pointer to a GENERIC_MAPPING structure that describes the specific access rights that correspond to each generic access right.
|Minimum supported client||Available starting with Windows 2000.|
|Header||ntddk.h (include Ntddk.h)|