mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:55:55 +00:00
Implement QuerySecurityAccessMask
svn path=/trunk/; revision=27712
This commit is contained in:
parent
c79612b989
commit
1a9fa20283
3 changed files with 26 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue