_RTC_SetErrorType
Associates an error that is detected by run-time error checks (RTCs) with a type. Your error handler processes how to output errors of the specified type.
int _RTC_SetErrorType( _RTC_ErrorNumber errnum, int ErrType );
By default, all errors are set to ErrType = 1, which corresponds to _CRT_ERROR. For more information about the default error types such as _CRT_ERROR, see _CrtDbgReport.
Before you can call this function, you must first call one of the run-time error check initialization functions; see Using Run-Time Checks without the C Run-Time Library
|
Routine |
Required header |
|---|---|
|
_RTC_SetErrorType |
<rtcapi.h> |
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.