forked from xt-sys/exectos
Implement RtlRemoveEntryList() routine
This commit is contained in:
parent
cba4a065ba
commit
b275caf161
@ -55,6 +55,9 @@ RtlMoveMemory(OUT PVOID Destination,
|
|||||||
IN PCVOID Source,
|
IN PCVOID Source,
|
||||||
IN SIZE_T Length);
|
IN SIZE_T Length);
|
||||||
|
|
||||||
|
VOID
|
||||||
|
RtlRemoveEntryList(IN PLIST_ENTRY Entry);
|
||||||
|
|
||||||
XTAPI
|
XTAPI
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
RtlSameMemory(IN PCVOID LeftBuffer,
|
RtlSameMemory(IN PCVOID LeftBuffer,
|
||||||
|
@ -149,3 +149,20 @@ RtlListLoop(IN PLIST_ENTRY ListHead)
|
|||||||
/* No loop found */
|
/* No loop found */
|
||||||
return FALSE;
|
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;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user