This method of the Dispatch Class maps the names of a dispmember and parameter names to their dispids. This method is a direct wrapper around the IDispatch::GetIDsOfNames call.
public static int[] getIDsOfNames(Object pDispatch, _Guid iid, int lcid, String dispNames[]);
Returns an array of resolved dispids.
pDispatch | The Java proxy of the ActiveX Automation object. |
iid | The interface to query; if null, the interface identifier defaults to IID_IDispatch. |
lcid | The locale identifier. |
dispNames | The array of names to resolve. |
A ComFailException is thrown if a name is not recognized by the object.