Józef Kucia joseph.kucia@gmail.com wrote:
What prevents you from discovering correct stream size?
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.