%CoQueryMethod interface

Query for a method.

Syntax

retcode = %CoQueryMethod(Param1, Param2, Param3, … )

Parameter(s)

Param1 [in] Dispatch object containing the IDispatch this call is associated with.
Param2 [in] Integer identifies how many methods followed here.
Param3 [out] Method name #1.

Returns

A Boolean (Success or Fail)

  • Success: all of the methods are supported by this object.

  • Fail: one of the methods is not supported by this object.

Error Handling

Call CoGetException to get an error description.

Comments

The caller can put in an unlimited amount of method names.