Click or drag to resize

Ole32FuncCreateStreamOnHGlobal Method

Creates a stream object on a global memory handle.

Namespace: Altaxo.UnmanagedApi.Ole32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

Int32
The HRESULT returned by OLE.
See Also