#ifndef _NTRTL_H
NTSYSAPI
VOID
NTAPI
RtlMapGenericMask(
_Inout_ PACCESS_MASK AccessMask,
_In_ PGENERIC_MAPPING GenericMapping
);
View code on GitHub
// ntddk.h
NTSYSAPI VOID RtlMapGenericMask(
[in, out] PACCESS_MASK AccessMask,
[in] const GENERIC_MAPPING *GenericMapping
);
View the official Windows Driver Kit DDI reference
This function is documented in Windows Driver Kit.
The RtlMapGenericMask routine determines the nongeneric access rights specified by an ACCESS_MASK.
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.
None