sdaiplusGetAggregationType
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "sdaiplusGetAggregationType")] public static extern Int64 x86_sdaiplusGetAggregationType(Int32 instance, Int32 aggregate); [DllImport(enginedll, EntryPoint = "sdaiplusGetAggregationType")] public static extern Int64 x64_sdaiplusGetAggregationType(Int64 instance, Int64 aggregate); public static Int64 sdaiplusGetAggregationType(Int64 instance, Int64 aggregate) { if (IntPtr.Size == 4) { var _result = x86_sdaiplusGetAggregationType((Int32)instance, (Int32)aggregate); return _result; } else { return x64_sdaiplusGetAggregationType(instance, aggregate); } }