AUTOInvoke

DFAUTO Function: Passes the name or identifier of an object's method and an argument list data structure and invokes the method with the passed arguments.

Modules: USE DFAUTO

Syntax

result = AUTOInvoke (idispatch, id, invoke_args)

idispatch
The object's IDispatch interface pointer. Must be of type INTEGER(4) on ia32 processors; INTEGER(8) on ia64 processors.


id
The argument's name of type CHARACTER*(*), or its member ID of type INTEGER(4).


invoke_args
The argument list data structure. Must be of type INTEGER(4) on ia32 processors; INTEGER(8) on ia64 processors.

Results:

Returns an HRESULT describing the status of the operation. Must be of type INTEGER(4).