mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 13:19:53 +00:00
ole32: Add support for reading VT_CLSID properties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cd2e053237
commit
9eab89bec6
|
@ -1454,6 +1454,14 @@ static HRESULT propertystorage_read_scalar(PROPVARIANT *prop, const struct read_
|
|||
else
|
||||
hr = STG_E_INVALIDPARAMETER;
|
||||
}
|
||||
break;
|
||||
case VT_CLSID:
|
||||
if (!(prop->u.puuid = allocate(allocate_data, sizeof (*prop->u.puuid))))
|
||||
return STG_E_INSUFFICIENTMEMORY;
|
||||
|
||||
if (SUCCEEDED(hr = buffer_test_offset(buffer, offset, sizeof(*prop->u.puuid))))
|
||||
StorageUtl_ReadGUID(buffer->data, offset, prop->u.puuid);
|
||||
|
||||
break;
|
||||
default:
|
||||
FIXME("unsupported type %d\n", prop->vt);
|
||||
|
|
Loading…
Reference in a new issue