Intel® Fortran Compiler 16.0 User and Reference Guide

AUTOInvoke (W*S)

AUTO 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.

Module

USE IFAUTO

result = AUTOInvoke (idispatch,id,invoke_args)

idispatch

The object's IDispatch interface pointer. Must be of type INTEGER(INT_PTR_KIND()).

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(INT_PTR_KIND()).

Results

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

Example

See the example in COMInitialize.