sdaiFindInstanceUsers

The function returns the identifiers of all the entity instances in the defined domain that reference the specified entity instance.

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiFindInstanceUsers")]
public static extern Int64 x86_sdaiFindInstanceUsers(Int32 instance, Int32 domain, Int32 resultList);

[DllImport(enginedll, EntryPoint = "sdaiFindInstanceUsers")]
public static extern Int64 x64_sdaiFindInstanceUsers(Int64 instance, Int64 domain, Int64 resultList);

public static Int64 sdaiFindInstanceUsers(Int64 instance, Int64 domain, Int64 resultList)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiFindInstanceUsers((Int32)instance, (Int32)domain, (Int32)resultList);
				return _result;
			}
			else
			{
				return x64_sdaiFindInstanceUsers(instance, domain, resultList);
			}
		}    

Property instance

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

Property domain

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

Property resultList

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