mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[CRT][MSVCRT] Implement _CrtDbgReport(W)V and redefine _CrtDbgReport(W) around those (#5678)
Also add the internal _VCrtDbgReportA and _VCrtDbgReportW functions listed in https://learn.microsoft.com/en-us/cpp/c-runtime-library/internal-crt-globals-and-functions?view=msvc-170 CORE-11835, CORE-15517
This commit is contained in:
parent
7901a4c8fe
commit
f49e213943
4 changed files with 89 additions and 23 deletions
|
@ -81,6 +81,7 @@ extern "C" {
|
|||
size_t lTotalCount;
|
||||
} _CrtMemState;
|
||||
|
||||
|
||||
// Debug reporting functions
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
@ -88,6 +89,9 @@ extern "C" {
|
|||
int __cdecl _CrtDbgReport(int reportType, const char *filename, int linenumber, const char *moduleName, const char *format, ...);
|
||||
int __cdecl _CrtDbgReportW(int reportType, const wchar_t *filename, int linenumber, const wchar_t *moduleName, const wchar_t *format, ...);
|
||||
|
||||
int __cdecl _CrtDbgReportV(int reportType, const char *filename, int linenumber, const char *moduleName, const char *format, va_list arglist);
|
||||
int __cdecl _CrtDbgReportWV(int reportType, const wchar_t *filename, int linenumber, const wchar_t *moduleName, const wchar_t *format, va_list arglist);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue