mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
[ADVAPI32]
* Update DeleteAce(). CORE-8540 svn path=/trunk/; revision=65016
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user