wmic: Convert integer property values to BSTR.

This commit is contained in:
Hans Leidekker 2013-10-01 11:35:46 +02:00 committed by Alexandre Julliard
parent 26721c25f6
commit 471bcd7e13
1 changed files with 1 additions and 0 deletions

View File

@ -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 );
}