RtlAssert - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTXCAPI_H
#ifndef _PHNT_RTLASSERT_DECLARED

/**
 * The RtlAssert routine reports an assertion failure and prompts the debugger or user for a response.
 *
 * \param VoidFailedAssertion A pointer to the null-terminated ANSI expression that failed.
 * \param VoidFileName A pointer to the null-terminated ANSI source file name.
 * \param LineNumber The source line number at which the assertion failed.
 * \param MutableMessage An optional pointer to a null-terminated ANSI message associated with the assertion.
 * \return This function does not return a value.
 * \remarks Depending on the selected response, the routine can return, break into the debugger, or terminate the current thread or process.
 */
NTSYSAPI
VOID
NTAPI
RtlAssert(
    _In_ PVOID VoidFailedAssertion,
    _In_ PVOID VoidFileName,
    _In_ ULONG LineNumber,
    _In_opt_ PSTR MutableMessage
    );

#endif
#endif

View code on GitHub

NtDoc

No description available.