sdaiPrevious

This function positions the specified iterator so that the preceding member of its subject ordered aggregate instance shall become the current member. If the iterator is at the end of the aggregate, the last member becomes the current member. If the iterator is at the beginning of the aggregate no repositioning occur. If the iterator references the first member of the aggregate, the iterator is set at the beginning so there is no current member.

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiPrevious")]
public static extern Int64 x86_sdaiPrevious(Int32 iterator);

[DllImport(enginedll, EntryPoint = "sdaiPrevious")]
public static extern Int64 x64_sdaiPrevious(Int64 iterator);

public static Int64 sdaiPrevious(Int64 iterator)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiPrevious((Int32)iterator);
				return _result;
			}
			else
			{
				return x64_sdaiPrevious(iterator);
			}
		}    

Property iterator

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