/* Delete entry from the list Note: ListIsEmpty() on this list entry would not return true, since its state is undefined  */
void ListDeleteNode(PRT_LIST_ENTRY ListToDelete)
/* Delete entry from the list Note: ListIsEmpty() on this list entry would not return true, since its state is undefined  */
void ListDeleteNode(PRT_LIST_ENTRY ListToDelete)
{
    {
        ListToDelete->Next->Prev = ListToDelete->Prev;
        ListToDelete->Prev->Next = ListToDelete->Next;
        ListToDelete->Next = ListToDelete->Prev = ListToDelete;
    }
}