xxxxGetAttrTypeBN

This call is deprecated, please use calls engiGetAttrTypeBN(..) instead. Technically it will transform into the following call

    xxxxGetAttrType(
            instance,
            sdaiGetAttrDefinition(
                    sdaiGetInstanceType(
                            instance
                        ),
                    attributeName
                ),
            attributeType
        );

Syntax

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

[DllImport(enginedll, EntryPoint = "xxxxGetAttrTypeBN")]
public static extern Int32 x86_xxxxGetAttrTypeBN(Int32 instance, string attributeName, out IntPtr attributeType);

[DllImport(enginedll, EntryPoint = "xxxxGetAttrTypeBN")]
public static extern Int32 x64_xxxxGetAttrTypeBN(Int64 instance, string attributeName, out IntPtr attributeType);

public static Int32 xxxxGetAttrTypeBN(Int64 instance, string attributeName, out IntPtr attributeType)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_xxxxGetAttrTypeBN((Int32)instance, attributeName, out IntPtr _attributeType);
				attributeType = _attributeType;
				return _result;
			}
			else
			{
				return x64_xxxxGetAttrTypeBN(instance, attributeName, out attributeType);
			}
		}

[DllImport(enginedll, EntryPoint = "xxxxGetAttrTypeBN")]
public static extern Int32 x86_xxxxGetAttrTypeBN(Int32 instance, byte[] attributeName, out IntPtr attributeType);

[DllImport(enginedll, EntryPoint = "xxxxGetAttrTypeBN")]
public static extern Int32 x64_xxxxGetAttrTypeBN(Int64 instance, byte[] attributeName, out IntPtr attributeType);

public static Int32 xxxxGetAttrTypeBN(Int64 instance, byte[] attributeName, out IntPtr attributeType)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_xxxxGetAttrTypeBN((Int32)instance, attributeName, out IntPtr _attributeType);
				attributeType = _attributeType;
				return _result;
			}
			else
			{
				return x64_xxxxGetAttrTypeBN(instance, attributeName, out attributeType);
			}
		}    

Property instance

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

Property attributeName

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

Property attributeType

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