engiGetAttrDefiningEntity

...

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "engiGetAttrDefiningEntity")]
public static extern Int32 x86_engiGetAttrDefiningEntity(Int32 attribute);

[DllImport(enginedll, EntryPoint = "engiGetAttrDefiningEntity")]
public static extern Int32 x64_engiGetAttrDefiningEntity(Int64 attribute);

public static Int32 engiGetAttrDefiningEntity(Int64 attribute)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiGetAttrDefiningEntity((Int32)attribute);
				return _result;
			}
			else
			{
				return x64_engiGetAttrDefiningEntity(attribute);
			}
		}    

Property attribute

Size: 32 bit / 4 byte (reference)
...