Pascal
procedure tsContextCreate(pContextID: ptsContextID);
C/C++
void tsContextCreate(tsContextID * pContextID);
Creates an context and returns the ID of it. The actuall created contex will be bound to the current thread.
Pointer in which the ID of the created context will be returned.
You cant create an context if the library wasn't initialized. See also tsInit.
During the creation of the context an out of memory occoured.
If you pass nil / NULL for the pContextID pointer this error will happen.
There was an error but i don't have an reresenting error type. This could happen if you pass an invalid poiter to this function.