#ifndef _NTRTL_H
// #ifndef NO_LIST_ENTRY_CHECKS
// #define NO_LIST_ENTRY_CHECKS
// #endif
FORCEINLINE
VOID
NTAPI_INLINE
RtlCheckListEntry(
_In_ PLIST_ENTRY Entry
)
{
if ((((Entry->Flink)->Blink) != Entry) || (((Entry->Blink)->Flink) != Entry))
{
RtlFatalListEntryError(
(PVOID)(Entry),
(PVOID)((Entry->Flink)->Blink),
(PVOID)((Entry->Blink)->Flink)
);
}
}
View code on GitHub
No description available.