IUIAutomationPatternInstance::CallMethod Method

Client wrapper implements methods by calling this CallMethod function, specifying the parameters as an array of pointers.

Syntax

HRESULT CallMethod(      
    UINT index,
    UIAutomationParameter *pParams,
    UINT cParams
);

Parameters

  • index
    [in] The index of the method.
  • pParams
    [in] The address of an array of UIAutomationParameter structures describing the parameters.
  • cParams
    [in] The count of parameters in pParams.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationPatternInstance