Zebediah Figura (@zfigura) commented about dlls/ntdll/heap.c:
NTSTATUS status = STATUS_SUCCESS; /* try re-using the block group instead of releasing it */
- if (list_empty( &category->groups ))
list_add_tail( &category->groups, &group->entry );
+#ifdef _WIN64
- if (category->groups.Header16.Depth <= 16)
+#else
- if (category->groups.Depth <= 16)
+#endif
This is RtlQueryDepthSList().