mshtml: Added VT_ERROR printing to debugstr_variant.

This commit is contained in:
Jacek Caban 2011-06-07 11:30:07 +02:00 committed by Alexandre Julliard
parent 674ab49fa2
commit 0360aebc19
1 changed files with 2 additions and 0 deletions

View File

@ -521,6 +521,8 @@ const char *debugstr_variant(const VARIANT *v)
return wine_dbg_sprintf("{VT_BSTR: %s}", debugstr_w(V_BSTR(v))); return wine_dbg_sprintf("{VT_BSTR: %s}", debugstr_w(V_BSTR(v)));
case VT_DISPATCH: case VT_DISPATCH:
return wine_dbg_sprintf("{VT_DISPATCH: %p}", V_DISPATCH(v)); return wine_dbg_sprintf("{VT_DISPATCH: %p}", V_DISPATCH(v));
case VT_ERROR:
return wine_dbg_sprintf("{VT_ERROR: %08x}", V_ERROR(v));
case VT_BOOL: case VT_BOOL:
return wine_dbg_sprintf("{VT_BOOL: %x}", V_BOOL(v)); return wine_dbg_sprintf("{VT_BOOL: %x}", V_BOOL(v));
case VT_UINT: case VT_UINT: