xxxxGetEntityAndSubTypesExtentBN

Technically xxxxGetEntityAndSubTypesExtentBN will transform into the following call

    xxxxGetEntityAndSubTypesExtent(
            model,
            sdaiGetEntity(
                    model,
                    entityName
                )
        );

Syntax

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

[DllImport(enginedll, EntryPoint = "xxxxGetEntityAndSubTypesExtentBN")]
public static extern Int32 x86_xxxxGetEntityAndSubTypesExtentBN(Int32 model, string entityName);

[DllImport(enginedll, EntryPoint = "xxxxGetEntityAndSubTypesExtentBN")]
public static extern Int32 x64_xxxxGetEntityAndSubTypesExtentBN(Int64 model, string entityName);

public static Int32 xxxxGetEntityAndSubTypesExtentBN(Int64 model, string entityName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_xxxxGetEntityAndSubTypesExtentBN((Int32)model, entityName);
				return _result;
			}
			else
			{
				return x64_xxxxGetEntityAndSubTypesExtentBN(model, entityName);
			}
		}

[DllImport(enginedll, EntryPoint = "xxxxGetEntityAndSubTypesExtentBN")]
public static extern Int32 x86_xxxxGetEntityAndSubTypesExtentBN(Int32 model, byte[] entityName);

[DllImport(enginedll, EntryPoint = "xxxxGetEntityAndSubTypesExtentBN")]
public static extern Int32 x64_xxxxGetEntityAndSubTypesExtentBN(Int64 model, byte[] entityName);

public static Int32 xxxxGetEntityAndSubTypesExtentBN(Int64 model, byte[] entityName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_xxxxGetEntityAndSubTypesExtentBN((Int32)model, entityName);
				return _result;
			}
			else
			{
				return x64_xxxxGetEntityAndSubTypesExtentBN(model, entityName);
			}
		}    

Property model

Size: 32 bit / 4 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property entityName

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