👩💻 Join our community of thousands of amazing developers!
The CreateStreamOnHGlobal function lets you create a COM IStream that uses an HGLOBAL memory block as its backing store. It takes two input parameters: an optional HGLOBAL that represents the memory block to use, and a flag called fDeleteOnRelease = FALSE that controls whether the stream object frees the HGLOBAL when it is destroyed. The post The subtleties of <CODE>CreateStreamOnHGlobal</CODE>, part 1: Introduction and basic usage appeared first on The Old New Thing....