BOOL AreAnyAccessesGranted(GrantedAccess, DesiredAccess) | |||
DWORD GrantedAccess; | |||
DWORD DesiredAccess; |
The AreAnyAccessesGranted function tests whether any of a set of desired accesses are granted by a granted access mask. It is used by components other than the Object Management component for checking access mask subsets.
GrantedAccess
Specifies the granted access mask.
DesiredAccess
Specifies the desired access mask.
If the GrantedAccess mask has any of the bits set that the DesiredAccess mask has set, the function return value is TRUE. That is, the function returns TRUE if any of the desired accesses have been granted.
Otherwise the function return value is FALSE.
AreAllAccessesGranted, MapGenericMask