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