Implement RtlRemoveEntryList() routine
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2022-11-28 23:00:20 +01:00
parent cba4a065ba
commit b275caf161
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 20 additions and 0 deletions

View File

@ -55,6 +55,9 @@ RtlMoveMemory(OUT PVOID Destination,
IN PCVOID Source,
IN SIZE_T Length);
VOID
RtlRemoveEntryList(IN PLIST_ENTRY Entry);
XTAPI
BOOLEAN
RtlSameMemory(IN PCVOID LeftBuffer,

View File

@ -149,3 +149,20 @@ RtlListLoop(IN PLIST_ENTRY ListHead)
/* No loop found */
return FALSE;
}
/**
* This routine removes an entry from a doubly linked list.
*
* @param Entry
* Pointer to the entry that will be removed from the list.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
VOID
RtlRemoveEntryList(IN PLIST_ENTRY Entry)
{
Entry->Flink->Blink = Entry->Blink;
Entry->Blink->Flink = Entry->Flink;
}