17 inline void vprintf(_In_z_ _Printf_format_string_
const char* format, _In_ va_list arg)
20 UNREFERENCED_PARAMETER(format);
21 UNREFERENCED_PARAMETER(arg);
23 auto tmp = stdex::vsprintf(format, stdex::locale_default, arg);
24 OutputDebugStringA(tmp.c_str());
26 vfprintf(stdout, format, arg);
30 inline void vprintf(_In_z_ _Printf_format_string_
const wchar_t* format, _In_ va_list arg)
33 UNREFERENCED_PARAMETER(format);
34 UNREFERENCED_PARAMETER(arg);
36 auto tmp = stdex::vsprintf(format, stdex::locale_default, arg);
37 OutputDebugStringW(tmp.c_str());
39 vfwprintf(stdout, format, arg);
54 inline void printf(_In_z_ _Printf_format_string_
const T* format, ...)
57 UNREFERENCED_PARAMETER(format);
60 va_start(arg, format);
69 inline void vprintf(_In_z_ _Printf_format_string_
const char* format, _In_ va_list arg)
72 UNREFERENCED_PARAMETER(format);
73 UNREFERENCED_PARAMETER(arg);
75 auto tmp = stdex::vsprintf(format, stdex::locale_default, arg);
76 OutputDebugStringA(tmp.c_str());
78 vfprintf(stderr, format, arg);
82 inline void vprintf(_In_z_ _Printf_format_string_
const wchar_t* format, _In_ va_list arg)
85 UNREFERENCED_PARAMETER(format);
86 UNREFERENCED_PARAMETER(arg);
88 auto tmp = stdex::vsprintf(format, stdex::locale_default, arg);
89 OutputDebugStringW(tmp.c_str());
91 vfwprintf(stderr, format, arg);
106 inline void printf(_In_z_ _Printf_format_string_
const T* format, ...)
109 UNREFERENCED_PARAMETER(format);
112 va_start(arg, format);
113 vprintf(format, arg);