engiGetAttrDomain

This call is deprecated, please use call engiGetAttrDomainName(..) instead.

Syntax

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

[DllImport(enginedll, EntryPoint = "engiGetAttrDomain")]
public static extern IntPtr x86_engiGetAttrDomain(Int32 attribute, out IntPtr domainName);

[DllImport(enginedll, EntryPoint = "engiGetAttrDomain")]
public static extern IntPtr x64_engiGetAttrDomain(Int64 attribute, out IntPtr domainName);

public static IntPtr engiGetAttrDomain(Int64 attribute, out IntPtr domainName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiGetAttrDomain((Int32)attribute, out IntPtr _domainName);
				domainName = _domainName;
				return _result;
			}
			else
			{
				return x64_engiGetAttrDomain(attribute, out domainName);
			}
		}    

Property attribute

Size: 64 bit / 8 byte (reference)
...

Property domainName

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