mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Implement QuerySecurityAccessMask
svn path=/trunk/; revision=27712
This commit is contained in:
@@ -451,6 +451,7 @@ PrivilegedServiceAuditAlarmW@20
|
||||
;QueryAllTracesA
|
||||
;QueryAllTracesW
|
||||
QueryRecoveryAgentsOnEncryptedFile@8
|
||||
QuerySecurityAccessMask@8
|
||||
QueryServiceConfig2A@20
|
||||
QueryServiceConfig2W@20
|
||||
QueryServiceConfigA@16
|
||||
|
||||
@@ -465,6 +465,28 @@ SetSecurityDescriptorSacl (
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
WINAPI
|
||||
QuerySecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation,
|
||||
OUT LPDWORD DesiredAccess)
|
||||
{
|
||||
*DesiredAccess = 0;
|
||||
|
||||
if (SecurityInformation & (OWNER_SECURITY_INFORMATION |
|
||||
GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION))
|
||||
{
|
||||
*DesiredAccess |= READ_CONTROL;
|
||||
}
|
||||
|
||||
if (SecurityInformation & SACL_SECURITY_INFORMATION)
|
||||
{
|
||||
*DesiredAccess |= ACCESS_SYSTEM_SECURITY;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
||||
@@ -1841,6 +1841,9 @@ BOOL WINAPI QueryMemoryResourceNotification(HANDLE,PBOOL);
|
||||
#endif
|
||||
BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER);
|
||||
BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER);
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
VOID WINAPI QuerySecurityAccessMask(SECURITY_INFORMATION,LPDWORD);
|
||||
#endif
|
||||
DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
BOOL WINAPI QueueUserWorkItem(LPTHREAD_START_ROUTINE,PVOID,ULONG);
|
||||
|
||||
Reference in New Issue
Block a user