summaryrefslogtreecommitdiff
path: root/protocols/ConnectionNotify/src/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ConnectionNotify/src/debug.cpp')
-rw-r--r--protocols/ConnectionNotify/src/debug.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/protocols/ConnectionNotify/src/debug.cpp b/protocols/ConnectionNotify/src/debug.cpp
new file mode 100644
index 0000000000..8abe549a22
--- /dev/null
+++ b/protocols/ConnectionNotify/src/debug.cpp
@@ -0,0 +1,13 @@
+#include "stdafx.h"
+
+void _OutputDebugString(wchar_t* lpOutputString, ...)
+{
+ CMStringW format;
+ va_list args;
+ va_start(args, lpOutputString);
+ format.FormatV(lpOutputString, args);
+ va_end(args);
+
+ format.AppendChar('\n');
+ OutputDebugString(format);
+}