RTL_SOFT_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 RTL_SOFT_ASSERT

#define RTL_SOFT_ASSERT(_exp) \
    ((!(_exp)) ? \
        (DbgPrint("%s(%d): Soft assertion failed\n   Expression: %s\n", __FILE__, __LINE__, #_exp),FALSE) : \
        TRUE)

#endif
#endif
#endif
#endif

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

#define RTL_SOFT_ASSERT(_exp)          ((void) 0)

#endif
#endif
#endif
#endif

View code on GitHub

NtDoc

No description available.