xxxxOpenModelByStream

This call is deprecated, please use call engiOpenModelByStream instead.

Syntax

public const string ifcenginedll = @"ifcengine.dll";

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate void WriteCallBackFunction(IntPtr value, Int64 size);

[DllImport(IFCEngineDLL, EntryPoint = "xxxxOpenModelByStream")]
public static extern Int32 xxxxOpenModelByStream(Int32 repository, [MarshalAs(UnmanagedType.FunctionPtr)] WriteCallBackFunction callback, string schemaName);

[DllImport(IFCEngineDLL, EntryPoint = "xxxxOpenModelByStream")]
public static extern Int32 xxxxOpenModelByStream(Int32 repository, [MarshalAs(UnmanagedType.FunctionPtr)] WriteCallBackFunction callback, byte[] schemaName);    

Property repository

Size: 32 bit / 4 byte (value)
...

Property callback

Size: 32 bit / 4 byte (reference)
...

Property schemaName

Size: 32 bit / 4 byte (reference)
...