ConsolidateInstanceTree
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "ConsolidateInstanceTree")] public static extern Int64 x86_ConsolidateInstanceTree(Int64 owlInstance); [DllImport(enginedll, EntryPoint = "ConsolidateInstanceTree")] public static extern Int64 x64_ConsolidateInstanceTree(Int64 owlInstance); public static Int64 ConsolidateInstanceTree(Int64 owlInstance) { if (IntPtr.Size == 4) { var _result = x86_ConsolidateInstanceTree(owlInstance); return _result; } else { return x64_ConsolidateInstanceTree(owlInstance); } }