CallAnyPtrVA (open)

Calls any function pointer with an argument list, returning the return value. If a macro is invoked, returns TRUE

Syntax

// Core function, no LOADLIB necessary

VARIANT FUNCTION CallAnyPtrVA(FUNCTION PTR v, VARIANT ARRAY args)

Parameters

FUNCTION PTR v

Function pointer to call

VARIANT ARRAY args

Arguments to call the function pointer with

Return value

VARIANT

Return value from the call