11 #error This file is supported only in debug builds
30 char const* user_message
39 wchar_t const* user_message
52#ifdef _UCRT_ENCLAVE_BUILD
214#define ASSERTINTRO1 "Assertion failed: "
215#define ASSERTINTRO2 "Assertion failed!"
239#pragma warning(disable:6262)
243 void * returnAddress,
246 char const* szModule,
247 char const* szFormat,
323 szFile, nLine, szLineMessage));
351 __crt_report_hook_node<char> *pnode=
nullptr;
352 __crt_report_hook_node<wchar_t> *pnodeW=
nullptr;
360 if (pnode->hook(nRptType, szOutMessage, &hook_retval))
371 if (pnodeW->hook(nRptType, szOutMessage2, &hook_retval))
403 DWORD bytes_written = 0;
415 szLineMessage[0] = 0;
459#pragma warning(disable:6262)
464 void * returnAddress,
465 wchar_t const* szFile,
467 wchar_t const* szModule,
468 wchar_t const* szFormat,
513 size_t const max_user_message_count =
_countof(szUserMessage) - 2 - max_assert_intro_count;
524 max_user_message_count,
552 szFile, nLine, szLineMessage));
575 __crt_report_hook_node<char> *pnode=
nullptr;
576 __crt_report_hook_node<wchar_t> *pnodeW=
nullptr;
584 if (pnode->hook(nRptType, szOutMessage2, &hook_retval))
595 if (pnodeW->hook(nRptType, szOutMessage, &hook_retval))
630 DWORD characters_written = 0;
646 DWORD bytes_written = 0;
657 DWORD bytes_written = 0;
671 szLineMessage[0] = 0;
int _vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr)
ACPI_SIZE strlen(const char *String)
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
void __cdecl __acrt_unlock(_In_ __acrt_lock_id lock)
#define DBGRPT_INVALIDMSG
#define _ERRCHECK_EINVAL_ERANGE(e)
void WINAPI __acrt_OutputDebugStringA(_In_opt_ LPCSTR text)
#define _ERRCHECK_SPRINTF(_PrintfCall)
#define DBGRPT_TOOLONGMSG
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
#define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS
#define _CRTDBG_MODE_DEBUG
#define _CRTDBG_FILE_STDOUT
#define _CRTDBG_MODE_WNDW
#define _CRTDBG_MODE_FILE
#define _CRTDBG_REPORT_MODE
#define _CRTDBG_HFILE_ERROR
#define _CrtSetReportMode(t, f)
#define _CRTDBG_FILE_STDERR
#define _CRTDBG_INVALID_HFILE
#define _CRTDBG_REPORT_FILE
#define _CrtSetReportHook(f)
#define _CrtSetReportFile(t, f)
int(__cdecl * _CRT_REPORT_HOOK)(int, char *, int *)
static LPCWSTR LPCWSTR module_name
__crt_report_hook_node< wchar_t > * _pReportHookListW
int __cdecl __acrt_MessageWindowA(int report_type, void *return_address, char const *file_name, char const *line_number, char const *module_name, char const *user_message)
__crt_report_hook_node< char > * _pReportHookList
_CRT_REPORT_HOOK _pfnReportHook
int _CrtDbgMode[_CRT_ERRCNT]
int __cdecl _VCrtDbgReportW(int nRptType, void *returnAddress, wchar_t const *szFile, int nLine, wchar_t const *szModule, wchar_t const *szFormat, va_list arglist)
_HFILE _CrtDbgFile[_CRT_ERRCNT]
int __cdecl __acrt_MessageWindowW(int report_type, void *return_address, wchar_t const *file_name, wchar_t const *line_number, wchar_t const *module_name, wchar_t const *user_message)
int __cdecl _VCrtDbgReportA(int nRptType, void *returnAddress, char const *szFile, int nLine, char const *szModule, char const *szFormat, va_list arglist)
_CRT_REPORT_HOOK __cdecl _CrtGetReportHook(void)
__acrt_lock(__acrt_heap_lock)
int const char const *const int const line_number
#define ERROR_INVALID_HANDLE
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleW(IN HANDLE hConsoleOutput, IN CONST VOID *lpBuffer, IN DWORD nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved)
DWORD WINAPI GetFileType(HANDLE hFile)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
long __cdecl _InterlockedIncrement(_Interlocked_operand_ long volatile *_Addend)
long __cdecl _InterlockedDecrement(_Interlocked_operand_ long volatile *_Addend)
int CDECL _itoa_s(int value, char *str, size_t size, int radix)
int CDECL _itow_s(int value, wchar_t *str, size_t size, int radix)
#define strcpy_s(d, l, s)
#define wcscpy_s(d, l, s)
errno_t mbstowcs_s(size_t *cchConverted, wchar_t *widechar, size_t charoutct, const char *multibyte, size_t count)
_Check_return_wat_ _CRTIMP errno_t __cdecl wcstombs_s(_Out_opt_ size_t *pcchConverted, _Out_writes_bytes_to_opt_(cjDstSize, *pcchConverted) char *pmbsDst, _In_ size_t cjDstSize, _In_z_ const wchar_t *pwszSrc, _In_ size_t cjMaxCount)
int __cdecl __stdio_common_vsnwprintf_s(unsigned __int64 const options, wchar_t *const buffer, size_t const buffer_count, size_t const max_count, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int CDECL strcat_s(char *dst, size_t elem, const char *src)
#define _CRT_WIDE(_String)
INT CDECL wcscat_s(wchar_t *dst, size_t elem, const wchar_t *src)
#define STD_OUTPUT_HANDLE
DWORD WINAPI GetLastError(void)