Search code examples
gdi+filestream

How to close a stream created with GdipCreateStreamOnFile


The GDI+ flat interface (gdiplusflat.h) declares a function GdipCreateStreamOnFile

How is that stream supposed to be closed?


Solution

  • By calling pStream->Release().