Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.51 KB

rtc-seterrorfunc.md

File metadata and controls

53 lines (37 loc) · 1.51 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _RTC_SetErrorFunc
_RTC_SetErrorFunc
11/04/2016
_RTC_SetErrorFunc
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
DLLExport
apiref
RTC_SetErrorFunc
_RTC_SetErrorFunc
RTC_SetErrorFunc function
_RTC_SetErrorFunc function
b2292722-0d83-4092-83df-3d5b19880666

_RTC_SetErrorFunc

Designates a function as the handler for reporting run-time error checks (RTCs). This function is deprecated; use _RTC_SetErrorFuncW instead.

Syntax

_RTC_error_fn _RTC_SetErrorFunc(
   _RTC_error_fn function
);

Parameters

function
The address of the function that will handle run-time error checks.

Return value

The previously defined error function. If there's no previously defined function, returns NULL.

Remarks

Don't use this function; instead, use _RTC_SetErrorFuncW. It's retained only for backward compatibility.

Requirements

Routine Required header
_RTC_SetErrorFunc <rtcapi.h>

For more information, see Compatibility.

Libraries

All versions of the C run-time libraries.

See also

_CrtDbgReport, _CrtDbgReportW
Runtime error checking