Commit 471bcd7e authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wmic: Convert integer property values to BSTR.

parent 26721c25
......@@ -229,6 +229,7 @@ static int query_prop( const WCHAR *alias, const WCHAR *propname )
}
if (IWbemClassObject_Get( obj, prop, 0, &v, NULL, NULL ) == WBEM_S_NO_ERROR)
{
VariantChangeType( &v, &v, 0, VT_BSTR );
output_string( fmtW, V_BSTR( &v ) );
VariantClear( &v );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment