Nikolay Sivov : msxml3: Debug output support for VT_ERROR.

Alexandre Julliard julliard at winehq.org
Tue Jan 10 13:11:20 CST 2012


Module: wine
Branch: master
Commit: 9575b906a4e09499799543620f4ebfe6ff8e0d14
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9575b906a4e09499799543620f4ebfe6ff8e0d14

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Jan 10 15:33:34 2012 +0300

msxml3: Debug output support for VT_ERROR.

---

 dlls/msxml3/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c
index c4e4303..464ef90 100644
--- a/dlls/msxml3/main.c
+++ b/dlls/msxml3/main.c
@@ -289,6 +289,8 @@ const char *debugstr_variant(const VARIANT *v)
     case VT_BSTR|VT_BYREF:
         return wine_dbg_sprintf("{VT_BSTR|VT_BYREF: ptr %p, data %s}",
             V_BSTRREF(v), debugstr_w(V_BSTRREF(v) ? *V_BSTRREF(v) : NULL));
+    case VT_ERROR:
+        return wine_dbg_sprintf("{VT_ERROR: 0x%08x}", V_ERROR(v));
     default:
         return wine_dbg_sprintf("{vt %d}", V_VT(v));
     }




More information about the wine-cvs mailing list