wbemprox: Support only getting type in record_get_value.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2021-05-26 15:59:26 +10:00 committed by Alexandre Julliard
parent 5f8c7c2563
commit 6daec612cf
1 changed files with 1 additions and 0 deletions

View File

@ -354,6 +354,7 @@ static HRESULT record_get_value( const struct record *record, UINT index, VARIAN
VARTYPE vartype = to_vartype( record->fields[index].type & CIM_TYPE_MASK );
if (type) *type = record->fields[index].type;
if (!var) return S_OK;
if (record->fields[index].type & CIM_FLAG_ARRAY)
{