RtlMapGenericMask function (ntddk.h)

The RtlMapGenericMask routine determines the nongeneric access rights specified by an ACCESS_MASK.

Syntax

NTSYSAPI VOID RtlMapGenericMask(
  PACCESS_MASK     AccessMask,
  PGENERIC_MAPPING GenericMapping
);

Parameters

AccessMask

[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.

GenericMapping

[in] Pointer to a GENERIC_MAPPING structure that describes the specific access rights that correspond to each generic access right.

Return value

None

Requirements

   
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

See also

GENERIC_MAPPING