RtlAreAllAccessesGranted - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H
// Access masks
#ifndef PHNT_NO_INLINE_ACCESSES_GRANTED

FORCEINLINE
BOOLEAN
NTAPI
RtlAreAllAccessesGranted(
    _In_ ACCESS_MASK GrantedAccess,
    _In_ ACCESS_MASK DesiredAccess
    )
{
    return (~GrantedAccess & DesiredAccess) == 0;
}

#endif
#endif

View code on GitHub
#ifndef _NTRTL_H
// Access masks
#ifndef PHNT_NO_INLINE_ACCESSES_GRANTED
// ...
#else

NTSYSAPI
BOOLEAN
NTAPI
RtlAreAllAccessesGranted(
    _In_ ACCESS_MASK GrantedAccess,
    _In_ ACCESS_MASK DesiredAccess
    );

#endif
#endif

View code on GitHub

No description available.