Implemented AreAnyAccessesGranted.
This commit is contained in:
parent
b6dae78bac
commit
d5a31871cd
|
@ -15,7 +15,7 @@
|
||||||
@ stdcall AllocateAndInitializeSid(ptr long long long long long long long long long ptr)
|
@ stdcall AllocateAndInitializeSid(ptr long long long long long long long long long ptr)
|
||||||
@ stdcall AllocateLocallyUniqueId(ptr)
|
@ stdcall AllocateLocallyUniqueId(ptr)
|
||||||
@ stub AreAllAccessesGranted
|
@ stub AreAllAccessesGranted
|
||||||
@ stub AreAnyAccessesGranted
|
@ stdcall AreAnyAccessesGranted(long long)
|
||||||
@ stdcall BackupEventLogA (long str)
|
@ stdcall BackupEventLogA (long str)
|
||||||
@ stdcall BackupEventLogW (long wstr)
|
@ stdcall BackupEventLogW (long wstr)
|
||||||
@ stdcall BuildTrusteeWithSidA(ptr ptr)
|
@ stdcall BuildTrusteeWithSidA(ptr ptr)
|
||||||
|
|
|
@ -1546,6 +1546,26 @@ DWORD WINAPI SetNamedSecurityInfoA(LPSTR pObjectName,
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* AreAnyAccessesGranted [ADVAPI32.@]
|
||||||
|
*
|
||||||
|
* Determines whether or not any of a set of specified access permissions have
|
||||||
|
* been granted or not.
|
||||||
|
*
|
||||||
|
* PARAMS
|
||||||
|
* GrantedAccess [I] The permissions that have been granted.
|
||||||
|
* DesiredAccess [I] The permissions that you want to have.
|
||||||
|
*
|
||||||
|
* RETURNS
|
||||||
|
* Nonzero if any of the permissions have been granted, zero if none of the
|
||||||
|
* permissions have been granted.
|
||||||
|
*/
|
||||||
|
|
||||||
|
BOOL WINAPI AreAnyAccessesGranted( DWORD GrantedAccess, DWORD DesiredAccess )
|
||||||
|
{
|
||||||
|
return (GrantedAccess & DesiredAccess) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SetNamedSecurityInfoW [ADVAPI32.@]
|
* SetNamedSecurityInfoW [ADVAPI32.@]
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue