include/debug.h: Support tracing of VT_BSTR|VT_BYREF.

This commit is contained in:
Nikolay Sivov 2015-02-27 14:38:31 +03:00 committed by Alexandre Julliard
parent 3b2cf06b91
commit 5bd6b569cd
1 changed files with 2 additions and 0 deletions

View File

@ -277,6 +277,8 @@ static inline const char *wine_dbgstr_variant( const VARIANT *v )
if (V_VT(v) & VT_BYREF) {
if (V_VT(v) == (VT_VARIANT|VT_BYREF))
return wine_dbg_sprintf( "%p {VT_VARIANT|VT_BYREF: %s}", v, wine_dbgstr_variant(V_VARIANTREF(v)) );
if (V_VT(v) == (VT_BSTR|VT_BYREF))
return wine_dbg_sprintf( "%p {VT_BSTR|VT_BYREF: %s}", v, wine_dbgstr_w(*V_BSTRREF(v)) );
return wine_dbg_sprintf( "%p {%s %p}", v, wine_dbgstr_vt(V_VT(v)), V_BYREF(v) );
}