This function removes an entry from the head of a doubly-linked list.
Header file: | Ntcompat.h |
Windows CE versions: | 2.0 and later |
PLIST_ENTRY RemoveHeadList( IN PLIST_ENTRY ListHead );
The ListHead of type LIST_ENTRY is doubly linked.
Returns a pointer to the entry at the head of the list or a NULL pointer if the list is currently empty.
A driver that calls this function can be running at IRQL >= DISPATCH_LEVEL only if the caller-allocated storage for ListHead is resident and only if pointers to every list entry remain valid at IRQL >= DISPATCH_LEVEL, as well.
InitializeListHead, IsListEmpty, RemoveTailList, RemoveEntryList