_CRTIMP void __cdecl _invalid_parameter( const wchar_t *pszExpression, const wchar_t *pszFunction, const wchar_t *pszFile, unsigned int nLine, uintptr_t pReserved ) { _invalid_parameter_handler pHandler = __pInvalidArgHandler; pszExpression; pszFunction; pszFile; pHandler = (_invalid_parameter_handler) _decode_pointer(pHandler); if (pHandler != NULL) { pHandler(pszExpression, pszFunction, pszFile, nLine, pReserved); return; } // No user handler is defined. Notify the debugger if attached. _CRT_DEBUGGER_HOOK(_CRT_DEBUGGER_INVALIDPARAMETER); _invoke_watson(pszExpression, pszFunction, pszFile, nLine, pReserved); }
extern "C++" void __cdecl _invoke_watson( const unsigned short * pszExpression, const unsigned short * pszFunction, const unsigned short * pszFile, unsigned int nLine, uintptr_t pReserved ) { _invoke_watson( reinterpret_cast<const wchar_t *>(pszExpression), reinterpret_cast<const wchar_t *>(pszFunction), reinterpret_cast<const wchar_t *>(pszFile), nLine, pReserved ); }
__declspec(noreturn) __declspec(dllexport) void __stdcall __abi_FailFast() { _invoke_watson(nullptr, nullptr, nullptr, 0, 0); }