On Tue, May 29, 2012 at 12:29 PM, Dmitry Timoshkov <dmi...@baikal.ru> wrote: > Józef Kucia <joseph.ku...@gmail.com> wrote: >> A stream can grow its memory. For example, IStream returned by >> CreateStreamOnHGlobal do this. > > I don't think you need to worry about that unless you have a test case > or an app that depends on this.
That's what native does. See the attached unit tests.
test_InitializeFromIStream.diff
Description: Binary data