include: Print contents of VT_LPSTR and VT_LPWSTR variants in wine_dbgstr_variant.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
db7e816c9c
commit
8fd6c63bf3
|
@ -296,6 +296,10 @@ static inline const char *wine_dbgstr_variant( const VARIANT *v )
|
|||
return wine_dbg_sprintf( "%p {VT_CY: %s}", v, wine_dbgstr_longlong(V_CY(v).int64) );
|
||||
case VT_DATE:
|
||||
return wine_dbg_sprintf( "%p {VT_DATE: %lf}", v, V_DATE(v) );
|
||||
case VT_LPSTR:
|
||||
return wine_dbg_sprintf( "%p {VT_LPSTR: %s}", v, wine_dbgstr_a((const char *)V_BSTR(v)) );
|
||||
case VT_LPWSTR:
|
||||
return wine_dbg_sprintf( "%p {VT_LPWSTR: %s}", v, wine_dbgstr_w(V_BSTR(v)) );
|
||||
case VT_BSTR:
|
||||
return wine_dbg_sprintf( "%p {VT_BSTR: %s}", v, wine_dbgstr_w(V_BSTR(v)) );
|
||||
case VT_DISPATCH:
|
||||
|
|
Loading…
Reference in New Issue