engiGetAttrDomainBN

This call is deprecated, please use call engiGetAttrDomainNameBN(..) instead. Technically engiGetAttrDomainBN will transform into the following call engiGetAttrDomain( sdaiGetAttrDefinition( entity, attributeName ), domainName );

Syntax

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

[DllImport(enginedll, EntryPoint = "engiGetAttrDomainBN")]
public static extern IntPtr x86_engiGetAttrDomainBN(Int32 entity, string attributeName, out IntPtr domainName);

[DllImport(enginedll, EntryPoint = "engiGetAttrDomainBN")]
public static extern IntPtr x64_engiGetAttrDomainBN(Int64 entity, string attributeName, out IntPtr domainName);

public static IntPtr engiGetAttrDomainBN(Int64 entity, string attributeName, out IntPtr domainName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiGetAttrDomainBN((Int32)entity, attributeName, out IntPtr _domainName);
				domainName = _domainName;
				return _result;
			}
			else
			{
				return x64_engiGetAttrDomainBN(entity, attributeName, out domainName);
			}
		}

[DllImport(enginedll, EntryPoint = "engiGetAttrDomainBN")]
public static extern IntPtr x86_engiGetAttrDomainBN(Int32 entity, byte[] attributeName, out IntPtr domainName);

[DllImport(enginedll, EntryPoint = "engiGetAttrDomainBN")]
public static extern IntPtr x64_engiGetAttrDomainBN(Int64 entity, byte[] attributeName, out IntPtr domainName);

public static IntPtr engiGetAttrDomainBN(Int64 entity, byte[] attributeName, out IntPtr domainName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiGetAttrDomainBN((Int32)entity, attributeName, out IntPtr _domainName);
				domainName = _domainName;
				return _result;
			}
			else
			{
				return x64_engiGetAttrDomainBN(entity, attributeName, out domainName);
			}
		}    

Property entity

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

Property attributeName

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

Property domainName

Size: 32 bit / 4 byte (reference)
The attribute that will be filled with the domain name.