mirror of
https://github.com/reactos/reactos.git
synced 2024-08-13 06:37:06 +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));
|
return set_ntstatus(RtlGetAce(pAcl, dwAceIndex, pAce));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/******************************************************************************
|
||||||
* @implemented
|
* GetAclInformation [ADVAPI32.@]
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL WINAPI GetAclInformation(
|
||||||
WINAPI
|
PACL pAcl,
|
||||||
GetAclInformation(PACL pAcl,
|
LPVOID pAclInformation,
|
||||||
LPVOID pAclInformation,
|
DWORD nAclInformationLength,
|
||||||
DWORD nAclInformationLength,
|
ACL_INFORMATION_CLASS dwAclInformationClass)
|
||||||
ACL_INFORMATION_CLASS dwAclInformationClass)
|
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
return set_ntstatus(RtlQueryInformationAcl(pAcl, pAclInformation,
|
||||||
|
nAclInformationLength, dwAclInformationClass));
|
||||||
Status = RtlQueryInformationAcl(pAcl,
|
|
||||||
pAclInformation,
|
|
||||||
nAclInformationLength,
|
|
||||||
dwAclInformationClass);
|
|
||||||
if (!NT_SUCCESS(Status))
|
|
||||||
{
|
|
||||||
SetLastError(RtlNtStatusToDosError(Status));
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue