sdaiGetAttrBNUnicode

...

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiGetAttrBNUnicode")]
public static extern Int32 x86_sdaiGetAttrBNUnicode(Int32 instance, string attributeName, byte[] buffer, Int32 bufferLength);

[DllImport(enginedll, EntryPoint = "sdaiGetAttrBNUnicode")]
public static extern Int32 x64_sdaiGetAttrBNUnicode(Int64 instance, string attributeName, byte[] buffer, Int64 bufferLength);

public static Int32 sdaiGetAttrBNUnicode(Int64 instance, string attributeName, byte[] buffer, Int64 bufferLength)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiGetAttrBNUnicode((Int32)instance, attributeName, buffer, (Int32)bufferLength);
				return _result;
			}
			else
			{
				return x64_sdaiGetAttrBNUnicode(instance, attributeName, buffer, bufferLength);
			}
		}

[DllImport(enginedll, EntryPoint = "sdaiGetAttrBNUnicode")]
public static extern Int32 x86_sdaiGetAttrBNUnicode(Int32 instance, byte[] attributeName, byte[] buffer, Int32 bufferLength);

[DllImport(enginedll, EntryPoint = "sdaiGetAttrBNUnicode")]
public static extern Int32 x64_sdaiGetAttrBNUnicode(Int64 instance, byte[] attributeName, byte[] buffer, Int64 bufferLength);

public static Int32 sdaiGetAttrBNUnicode(Int64 instance, byte[] attributeName, byte[] buffer, Int64 bufferLength)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiGetAttrBNUnicode((Int32)instance, attributeName, buffer, (Int32)bufferLength);
				return _result;
			}
			else
			{
				return x64_sdaiGetAttrBNUnicode(instance, attributeName, buffer, bufferLength);
			}
		}    

Property instance

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

Property attributeName

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

Property buffer

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

Property bufferLength

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