advapi32: Add TRACE to GetFileSecurity().

This commit is contained in:
Paul Bryan Roberts 2008-11-03 20:42:45 +00:00 committed by Alexandre Julliard
parent fa9c9f0e4c
commit 2703721860
1 changed files with 4 additions and 0 deletions

View File

@ -1915,6 +1915,10 @@ GetFileSecurityW( LPCWSTR lpFileName,
NTSTATUS status;
DWORD access = 0;
TRACE("(%s,%d,%p,%d,%p)\n", debugstr_w(lpFileName),
RequestedInformation, pSecurityDescriptor,
nLength, lpnLengthNeeded);
if (RequestedInformation & (OWNER_SECURITY_INFORMATION|GROUP_SECURITY_INFORMATION|
DACL_SECURITY_INFORMATION))
access |= READ_CONTROL;