-------------------------------------------------------------------------------------- Outputs to the debug stream a formatted MBCS string with a variable-argument list. --------------------------------------------------------------------------------------
| 359 | // Outputs to the debug stream a formatted MBCS string with a variable-argument list. |
| 360 | //-------------------------------------------------------------------------------------- |
| 361 | _Use_decl_annotations_ |
| 362 | VOID WINAPI DXUTOutputDebugStringA( LPCSTR strMsg, ... ) |
| 363 | { |
| 364 | #if defined(DEBUG) || defined(_DEBUG) |
| 365 | CHAR strBuffer[512]; |
| 366 | |
| 367 | va_list args; |
| 368 | va_start(args, strMsg); |
| 369 | sprintf_s( strBuffer, 512, strMsg, args ); |
| 370 | strBuffer[511] = '\0'; |
| 371 | va_end(args); |
| 372 | |
| 373 | OutputDebugStringA( strBuffer ); |
| 374 | #else |
| 375 | UNREFERENCED_PARAMETER( strMsg ); |
| 376 | #endif |
| 377 | } |
| 378 | |
| 379 | |
| 380 | //-------------------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected