Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_RTC_SetErrorFunc 

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


_RTC_error_fn _RTC_SetErrorFunc(
   _RTC_error_fn function 
);

Parameters

function

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

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

Do not use this function; instead, use _RTC_SetErrorFuncW. It is retained only for backward compatibility.

Routine Required header Compatibility

_RTC_SetErrorFunc

<rtcapi.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

For more information, see Compatibility.

Libraries

All versions of the C run-time libraries.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Community Additions

ADD
Show:
© 2015 Microsoft