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.
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
Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.