mirror of
https://github.com/reactos/reactos.git
synced 2024-10-24 23:11:33 +00:00
[ADVAPI32]
* Update DeleteAce(). CORE-8540 svn path=/trunk/; revision=65016
This commit is contained in:
parent
53adda2513
commit
283d189dda
|
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue