I create an IStream as follows:
IStream* stream;
result = CreateStreamOnHGlobal(0, TRUE, &stream);
Then I have a CImage object that I save in this thread:
image->Save(stream, Gdiplus::ImageFormatBMP);
I need to get the size of bytes written on this IStream.
How can i do this?
In IStream there is no length or something like that ...
thanks!
source
share