CallFunctionPtrVA (open)

Calls a function pointer with an argument list, returning the return value. Aborts when the function pointer points to a macro.

Syntax

// Core function, no LOADLIB necessary

VARIANT FUNCTION CallFunctionPtrVA(FUNCTION PTR fptr, VARIANT ARRAY arguments)

Parameters

FUNCTION PTR fptr

Function pointer to call

VARIANT ARRAY arguments

Arguments to call the function pointer with

Return value

VARIANT

Return value from the call