mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ole32: Give names to 1Ole stream header fields.
This commit is contained in:
parent
e45202fdae
commit
53dd90aeb3
1 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue