msxml3: Debug output support for VT_ERROR.
This commit is contained in:
parent
42157151d0
commit
9575b906a4
|
@ -289,6 +289,8 @@ const char *debugstr_variant(const VARIANT *v)
|
||||||
case VT_BSTR|VT_BYREF:
|
case VT_BSTR|VT_BYREF:
|
||||||
return wine_dbg_sprintf("{VT_BSTR|VT_BYREF: ptr %p, data %s}",
|
return wine_dbg_sprintf("{VT_BSTR|VT_BYREF: ptr %p, data %s}",
|
||||||
V_BSTRREF(v), debugstr_w(V_BSTRREF(v) ? *V_BSTRREF(v) : NULL));
|
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:
|
default:
|
||||||
return wine_dbg_sprintf("{vt %d}", V_VT(v));
|
return wine_dbg_sprintf("{vt %d}", V_VT(v));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue