Previous Next

RtlMapGenericMask

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

NTSYSAPI
VOID
NTAPI
  RtlMapGenericMask(
    PACCESS_MASK  AccessMask,
    PGENERIC_MAPPING  GenericMapping
    );

Parameters

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.
GenericMapping
Pointer to a GENERIC_MAPPING structure that describes the specific access rights that correspond to each generic access right.

Return Value

None

Headers

Declared in ntddk.h. Include ntddk.h.

See Also

GENERIC_MAPPING