mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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:
parent
5f8c7c2563
commit
6daec612cf
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue