Skip to content
Snippets Groups Projects
Commit 48ae8e9c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

ole32: Handle VT_BLOB in PropertyStorage_ReadProperty.

parent ea151da3
Branches
Tags
No related merge requests found
......@@ -1111,6 +1111,22 @@ static HRESULT PropertyStorage_ReadProperty(PropertyStorage_impl *This,
}
break;
}
case VT_BLOB:
{
DWORD count;
StorageUtl_ReadDWord(data, 0, &count);
prop->u.blob.cbSize = count;
prop->u.blob.pBlobData = CoTaskMemAlloc(count);
if (prop->u.blob.pBlobData)
{
memcpy(prop->u.blob.pBlobData, data + sizeof(DWORD), count);
TRACE("Read blob value of size %d\n", count);
}
else
hr = STG_E_INSUFFICIENTMEMORY;
break;
}
case VT_LPWSTR:
{
DWORD count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment