IAccessibleEx::ConvertReturnedElement 方法 (uiautomationcore.h)

擷取傳回為屬性值之專案的 IAccessibleEx 介面。

語法

HRESULT ConvertReturnedElement(
  [in]  IRawElementProviderSimple *pIn,
  [out] IAccessibleEx             **ppRetValOut
);

參數

[in] pIn

類型: IRawElementProviderSimple*

擷取為屬性的 IRawElementProviderSimple 介面指標。

[out] ppRetValOut

類型: IAccessibleEx**

接收元素之 IAccessibleEx 介面的指標。

傳回值

類型: HRESULT

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

備註

此方法是由 Microsoft 使用者介面自動化 與 Microsoft Active Accessibility 之間的網橋所實作。 將 ppRetValOut 設定為 NULL 之後,大部分的其他實作都應該傳回E_NOTIMPL。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista SP2 和 Windows Vista 平臺更新、Windows XP SP3 和 Windows Vista 平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 uiautomationcore.h (包含 UIAutomation.h)

另請參閱

IAccessibleEx