Commit c4550534 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ole32/propstorage: Handle VT_I8/VT_UI8 when serializing properties.

parent bf6e8815
......@@ -2103,6 +2103,7 @@ static HRESULT PropertyStorage_WritePropertyToStream(PropertyStorage_impl *This,
HRESULT hr;
LARGE_INTEGER seek;
PROPERTYIDOFFSET propIdOffset;
ULARGE_INTEGER ularge;
ULONG count;
assert(var);
......@@ -2161,6 +2162,13 @@ static HRESULT PropertyStorage_WritePropertyToStream(PropertyStorage_impl *This,
bytesWritten = count;
break;
}
case VT_I8:
case VT_UI8:
{
StorageUtl_WriteULargeInteger(&ularge, 0, &var->u.uhVal);
hr = IStream_Write(This->stm, &ularge, sizeof(ularge), &bytesWritten);
break;
}
case VT_LPSTR:
{
if (This->codePage == CP_UNICODE)
......
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