engiGetMappingSupport
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "engiGetMappingSupport")] public static extern byte x86_engiGetMappingSupport(Int32 entity); [DllImport(enginedll, EntryPoint = "engiGetMappingSupport")] public static extern byte x64_engiGetMappingSupport(Int64 entity); public static byte engiGetMappingSupport(Int64 entity) { if (IntPtr.Size == 4) { var _result = x86_engiGetMappingSupport((Int32)entity); return _result; } else { return x64_engiGetMappingSupport(entity); } }