ReactOS 0.4.16-dev-2279-gc890759
_chkesp_failed.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS vcruntime library
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: Implementation of _chkesp_failed
5 * COPYRIGHT: Copyright 2026 Timo Kreuzer <timo.kreuzer@reactos.org>
6 */
7
8#include <crtdbg.h>
9
11{
12#ifdef _DEBUG
13 /* Report the error to the user */
15 __FILE__,
16 __LINE__,
17 "",
18 "The stack pointer was invalid after a function call. "
19 "This indicates that a function was called with the "
20 "wrong parmeters or calling convention.\n"
21 "Click 'Retry' to debug the application.");
22#endif
23
25}
void _chkesp_failed(void)
#define _CRT_ERROR
Definition: crtdbg.h:30
#define _CrtDbgReport(...)
Definition: crtdbg.h:61
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698