mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 00:25:05 +00:00
[ADVAPI32]
* Update GetAclInformation(). CORE-8540 svn path=/trunk/; revision=65022
This commit is contained in:
parent
cc4ef02bd0
commit
f7a65d3155
|
@ -1100,29 +1100,17 @@ BOOL WINAPI GetAce(PACL pAcl,DWORD dwAceIndex,LPVOID *pAce )
|
|||
return set_ntstatus(RtlGetAce(pAcl, dwAceIndex, pAce));
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
/******************************************************************************
|
||||
* GetAclInformation [ADVAPI32.@]
|
||||
*/
|
||||
BOOL
|
||||
WINAPI
|
||||
GetAclInformation(PACL pAcl,
|
||||
LPVOID pAclInformation,
|
||||
DWORD nAclInformationLength,
|
||||
ACL_INFORMATION_CLASS dwAclInformationClass)
|
||||
BOOL WINAPI GetAclInformation(
|
||||
PACL pAcl,
|
||||
LPVOID pAclInformation,
|
||||
DWORD nAclInformationLength,
|
||||
ACL_INFORMATION_CLASS dwAclInformationClass)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
Status = RtlQueryInformationAcl(pAcl,
|
||||
pAclInformation,
|
||||
nAclInformationLength,
|
||||
dwAclInformationClass);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastError(RtlNtStatusToDosError(Status));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
return set_ntstatus(RtlQueryInformationAcl(pAcl, pAclInformation,
|
||||
nAclInformationLength, dwAclInformationClass));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue