AbortModel

This function abort running processes for a model. It can be used when a task takes more time than expected / available, or in case the requested results are not relevant anymore.

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "AbortModel")]
public static extern Int64 AbortModel(Int64 model, Int64 setting);    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property setting

Size: 64 bit / 8 byte (value)
The setting is the data that is defined for bitwise operations, only bits set in the mask will be relevant.