_RTC_NumErrors

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _RTC_NumErrors.

Returns the total number of errors that can be detected by run-time error checks (RTC). You can use this number as the control in a for loop, where each value in the loop is passed to _RTC_GetErrDesc.

  
int _RTC_NumErrors( void );  
  

An integer whose value represents the total number of errors that can be detected by the Visual C++ run-time error checks.

RoutineRequired header
_RTC_NumErrors<rtcapi.h>

For more information, see Compatibility.

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.

_RTC_GetErrDesc
Run-Time Error Checking

Show: