Commit 53dd90ae authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ole32: Give names to 1Ole stream header fields.

parent e45202fd
......@@ -8552,13 +8552,17 @@ HRESULT STORAGE_CreateOleStream(IStorage *storage, DWORD flags)
struct empty_1ole_stream {
DWORD version_magic;
DWORD flags;
BYTE padding[12];
DWORD update_options;
DWORD reserved;
DWORD mon_stream_size;
};
struct empty_1ole_stream stream_data;
stream_data.version_magic = version_magic;
stream_data.flags = flags;
memset(stream_data.padding, 0, sizeof(stream_data.padding));
stream_data.update_options = 0;
stream_data.reserved = 0;
stream_data.mon_stream_size = 0;
hr = IStream_Write(stream, &stream_data, sizeof(stream_data), NULL);
IStream_Release(stream);
......
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