[PATCH 1/3] ole32: Create the '\1Ole' stream.

Rob Shearman robertshearman at gmail.com
Wed Oct 22 06:50:12 CDT 2008


2008/10/21 Huw Davies <huw at codeweavers.com>:
> +/***********************************************************************
> + *   init_ole_stream
> + *
> + * Creates the '\1Ole' stream.
> + * The format of this stream is as follows:
> + *
> + * DWORD Version == 0x02000001
> + * DWORD Flags - high bit set indicates the object is a link otherwise it's embedded.
> + * DWORD LinkupdateOption - [MS-OLEDS describes this as an implementation specific hint
> + *                           supplied by the app that creates the data structure.  May be
> + *                           ignored on processing].
> + *
> + * DWORD Revserved == 0

Typo.

> + * DWORD MonikerStreamSize - size of the rest of the data (ie CLSID + moniker stream data).
> + * CLSID clsid - class id of object capable of processing the moniker
> + * BYTE  data[] - moniker data for a link
> + */

Please add some tests that show the layout as documented here is
correct and is what the code does.

-- 
Rob Shearman



More information about the wine-devel mailing list