Commit 6daec612 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

wbemprox: Support only getting type in record_get_value.

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