engiGetAttrInverse
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "engiGetAttrInverse")] public static extern Int32 x86_engiGetAttrInverse(Int32 attribute); [DllImport(enginedll, EntryPoint = "engiGetAttrInverse")] public static extern Int32 x64_engiGetAttrInverse(Int64 attribute); public static Int32 engiGetAttrInverse(Int64 attribute) { if (IntPtr.Size == 4) { var _result = x86_engiGetAttrInverse((Int32)attribute); return _result; } else { return x64_engiGetAttrInverse(attribute); } }