SAFEARRAY(VARIANT)

Array of VARIANTs used in COM communications (e.g. scripting) for modelling method signatures with variable count of parameters.

Used as INPUT only. Normally used to define this void Method(par1, …), so in scripting, you can call it like this Method(a, b, c, d)

Actual data type corresponding to LONG depends on language in which you consume API:

Language Data Type
C++ SAFEARRAY(VARIANT)
JavaScript set of any variable separated by ','
VisualBasic Script set of any variable separated by ','