RtlMapGenericMask function (ntddk.h)
The RtlMapGenericMask routine determines the nongeneric access rights specified by an ACCESS_MASK.
Syntax
NTSYSAPI VOID RtlMapGenericMask(
[in, out] PACCESS_MASK AccessMask,
[in] const GENERIC_MAPPING *GenericMapping
);
Parameters
[in, out] AccessMask
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] GenericMapping
Pointer to a GENERIC_MAPPING structure that describes the specific access rights that correspond to each generic access right.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | ntddk.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= APC_LEVEL |