-BOOLEAN
-GenericListHasSingleEntry(
- IN PGENERIC_LIST List)
-{
- /*
- * If both list head pointers (which normally point to the first and last
- * list member, respectively) point to the same entry then it means that
- * there is just a single thing in there, otherwise... false!
- */
- return (!IsListEmpty(&List->ListHead) && (List->ListHead.Flink == List->ListHead.Blink));
-}
-