OleAutomation.invokeNoReply

Invokes a method on the OLE Object; the method has optional parameters. It is not necessary to specify all the optional parameters, only include the parameters for which you are providing values. In the early days of OLE, the IDispatch interface was not well defined and some applications (mainly Word) did not support a return value. For these applications, call this method instead of calling <code>public void invoke(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)</code>.

@param dispIdMember the ID of the method as specified by the IDL of the ActiveX Control; the value for the ID can be obtained using OleAutomation.getIDsOfNames

@param rgvarg an array of arguments for the method. All arguments are considered to be read only unless the Variant is a By Reference Variant type.

@param rgdispidNamedArgs an array of identifiers for the arguments specified in rgvarg; the parameter IDs must be in the same order as their corresponding values; all arguments must have an identifier - identifiers can be obtained using OleAutomation.getIDsOfNames

@exception org.eclipse.swt.SWTException <ul> <li>ERROR_ACTION_NOT_PERFORMED when method invocation fails </ul>

  1. void invokeNoReply(int dispIdMember)
  2. void invokeNoReply(int dispIdMember, Variant[] rgvarg)
  3. void invokeNoReply(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)
    class OleAutomation
    void
    invokeNoReply

Meta