How to translate not required parameters from Delphi?

When translating functions From Delphi encountered an interesting moment in the header file in C, here is the function Declaration:
The question of how to properly implement this function in Delphi (my version, only the first two options) ?
Vix_GetProperties function(handle: VixHandle;
 firstPropertyID: VixPropertyID
 ): VixError; cdecl; external 'vix.dll';

Sorry, not found examples of how to carry these things '...' as an option from With in Delphi...
March 20th 20 at 11:20
4 answers
March 20th 20 at 11:28
Vix_GetProperties works similar to WriteLn with the list.
Predefined constants, types, procedures, and functions (such as True, Integer, or Writeln) do not have actual declarations.Instead they are built into the compiler and are treated as if they were declared at the beginning of the System unit.
March 20th 20 at 11:26
Ask an optional default value. And look at the code calls this function to understand how it works and how to handle these parameters.
procedure DoSomething(one : string; two: integer: = 0; three: integer = 0);
March 20th 20 at 11:22
function Vix_GetProperties(
 handle: VixHandle;
 firstPropertyID: VixPropertyID
): VixError; cdecl varargs; external 'vix.dll';

After adding cdecl varargs. This allows the remote library to tell the compiler that you can pass arguments as a list.

Thank you very much! - samir.Metz15 commented on March 20th 20 at 11:25
March 20th 20 at 11:24
Only by passing parameters to the array.
procedure TForm1.Display(X: array of const);
 I: Integer;
 for I := Low(X) to High(X) do

Display([42, 1.234, 'A', 'Vasek Trubachev', Form1, TButton]);

Find more questions by tags DelphiC