AllocModelMemory

Allocates model associated memory. Memory is disposed when model is closed

Syntax

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

[DllImport(enginedll, EntryPoint = "AllocModelMemory")]
public static extern Int32 AllocModelMemory(Int64 model, Int64 size);    

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 size

Size: 64 bit / 8 byte (value)
The given size.