Ole32FuncCreateStreamOnHGlobal Method |
Creates a stream object on a global memory handle.
Namespace: Altaxo.UnmanagedApi.Ole32Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static int CreateStreamOnHGlobal(
IntPtr hGlobal,
bool fDeleteOnRelease,
out IStream ppstm
)
Parameters
- hGlobal IntPtr
- A handle to the global memory block.
- fDeleteOnRelease Boolean
- to free the memory when the stream is released.
- ppstm IStream
- When this method returns, contains the created stream.
Return Value
Int32The HRESULT returned by OLE.
See Also