Share via


IUIAutomationPatternInstance::CallMethod メソッド (uiautomationcore.h)

クライアント ラッパーは、この CallMethod 関数を呼び出し、パラメーターをポインターの配列として指定することでメソッドを実装します。

構文

HRESULT CallMethod(
  [in] UINT                        index,
  [in] const UIAutomationParameter *pParams,
  [in] UINT                        cParams
);

パラメーター

[in] index

型: UINT

メソッドのインデックス。

[in] pParams

種類: UIAutomationParameter*

パラメーターを記述する構造体の配列へのポインター。

[in] cParams

型: UINT

pParams のパラメーターの数。

戻り値

種類: HRESULT

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

要件
サポートされている最小のクライアント Windows 7、Windows Vista SP2 および Windows Vista 用プラットフォーム更新プログラム、SP3 を使用した Windows XP、Windows Vista 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2008 R2、Windows Server 2008 SP2 および Windows Server 2008 用プラットフォーム更新プログラム、WINDOWS Server 2003 SP2 および Windows Server 2008 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
対象プラットフォーム Windows
ヘッダー uiautomationcore.h (UIAutomation.h を含む)

こちらもご覧ください

IUIAutomationPatternInstance