ASSERT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#ifdef _DEBUG
#ifndef ASSERT

#define ASSERT( exp ) \
    ((!(exp)) ? \
        (RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, NULL ),FALSE) : \
        TRUE)

#endif
#endif
#endif
#endif

View code on GitHub
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#ifdef _DEBUG
// ...
#else // _DEBUG
#ifndef ASSERT

#define ASSERT( exp )         ((void) 0)

#endif
#endif
#endif
#endif

View code on GitHub

NtDoc

No description available.