-------------------------------------------------------------------------------------- Outputs to the debug stream a formatted Unicode string with a variable-argument list. --------------------------------------------------------------------------------------
| 337 | // Outputs to the debug stream a formatted Unicode string with a variable-argument list. |
| 338 | //-------------------------------------------------------------------------------------- |
| 339 | _Use_decl_annotations_ |
| 340 | VOID WINAPI DXUTOutputDebugStringW( LPCWSTR strMsg, ... ) |
| 341 | { |
| 342 | #if defined(DEBUG) || defined(_DEBUG) |
| 343 | WCHAR strBuffer[512]; |
| 344 | |
| 345 | va_list args; |
| 346 | va_start(args, strMsg); |
| 347 | vswprintf_s( strBuffer, 512, strMsg, args ); |
| 348 | strBuffer[511] = L'\0'; |
| 349 | va_end(args); |
| 350 | |
| 351 | OutputDebugString( strBuffer ); |
| 352 | #else |
| 353 | UNREFERENCED_PARAMETER( strMsg ); |
| 354 | #endif |
| 355 | } |
| 356 | |
| 357 | |
| 358 | //-------------------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected