BOOLEAN
IsListEmpty(
IN PLIST_ENTRY ListHead
);
IsListEmpty indicates whether a doubly linked, driver-maintained list is empty.
The ListHead of type LIST_ENTRY is doubly linked.
IsListEmpty returns TRUE if there are currently no entries in the list.
Callers of IsListEmpty 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, RemoveHeadList, RemoveTailList, RemoveEntryList