BOOL AreAllAccessesGranted(GrantedAccess, DesiredAccess) | |||
DWORD GrantedAccess; | |||
DWORD DesiredAccess; |
The AreAllAccessesGranted function checks a desired access mask against a granted access mask. It is used by the Object Management component when dereferencing a handle.
GrantedAccess
Specifies the granted access mask.
DesiredAccess
Specifies the desired access mask.
If the GrantedAccess mask has all the bits set that the DesiredAccess mask has set, the function return value is TRUE. That is, the function returns TRUE if all of the desired accesses have been granted.
Otherwise, the function return value is FALSE.
AreAnyAccessesGranted, MapGenericMask