CreateStreamOnHGlobal function ole32
The CreateStreamOnHGlobal function creates a stream object that uses an HGLOBAL memory handle to store the stream contents. This object is the OLE-provided implementation of the IStream interface.
HRESULT CreateStreamOnHGlobal(
[in] HGLOBAL hGlobal,
[in] BOOL fDeleteOnRelease,
[out] LPSTREAM *ppstm
);
Implementation
int CreateStreamOnHGlobal(
int hGlobal, int fDeleteOnRelease, Pointer<Pointer<COMObject>> ppstm) =>
_CreateStreamOnHGlobal(hGlobal, fDeleteOnRelease, ppstm);