[ADVAPI32]

* Update DeleteAce().
CORE-8540

svn path=/trunk/; revision=65016
This commit is contained in:
Amine Khaldi 2014-10-26 15:59:57 +00:00
parent 53adda2513
commit 283d189dda

View file

@ -1072,25 +1072,12 @@ AddAce(PACL pAcl,
return TRUE;
}
/*
* @implemented
/******************************************************************************
* DeleteAce [ADVAPI32.@]
*/
BOOL
WINAPI
DeleteAce(PACL pAcl,
DWORD dwAceIndex)
BOOL WINAPI DeleteAce(PACL pAcl, DWORD dwAceIndex)
{
NTSTATUS Status;
Status = RtlDeleteAce(pAcl,
dwAceIndex);
if (!NT_SUCCESS(Status))
{
SetLastError(RtlNtStatusToDosError(Status));
return FALSE;
}
return TRUE;
return set_ntstatus(RtlDeleteAce(pAcl, dwAceIndex));
}
/*