InstanceInContext structures are updated dynamically and therfore even while the cost in performance and memory is limited it is advised to destroy structures as soon as they are obsolete.


//   Visual Studio for Windows
void __declspec(dllexport) __stdcall DestroyInstanceInContextStructure(
            __int64             owlInstanceInContext

//   Linux, OS-X and non-Visual Studio Windows solutions
void DestroyInstanceInContextStructure(
            int64_t             owlInstanceInContext

Property owlInstanceInContext

Size: 64 bit / 8 byte (value)
The handle to the specific instance in the design tree. The instance handle is static within one open model but is most probably different when the same instance is opened in another model. The instance is always exactly of one unique class.