The document is archived and information here might be outdated
Designates a function as the handler for reporting run-time error checks (RTCs). This function is deprecated; use _RTC_SetErrorFuncW instead.
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.
For more information, see Compatibility.