sdaiNext
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "sdaiNext")] public static extern bool x86_sdaiNext(Int32 iterator); [DllImport(enginedll, EntryPoint = "sdaiNext")] public static extern bool x64_sdaiNext(Int64 iterator); public static bool sdaiNext(Int64 iterator) { if (IntPtr.Size == 4) { var _result = x86_sdaiNext((Int32)iterator); return _result; } else { return x64_sdaiNext(iterator); } }