Share via


IInputPaneInterop 介面 (inputpaneinterop.h)

可讓您存取傳統型應用程式中 InputPane 類別的成員。

繼承

IInputPaneInterop 介面繼承自 IInspectableIInputPaneInterop 也有下列類型的成員:

方法

IInputPaneInterop 介面具有這些方法。

 
IInputPaneInterop::GetForWindow

取得指定視窗之 InputPane 對象的實例。

備註

您可以在 InputPane 類別的啟用處理站實例上呼叫 IUnknown::QueryInterface 方法,以取得 IInputPaneInterop 介面的實例。

如需使用 IInputPaneInterop 介面的範例,請參閱 觸控式鍵盤通知 WPF 範例

下列範例顯示 IInputPaneInterop 介面的定義。

[
    uuid(75CF2C57-9195-4931-8332-F0B409E916AF),
]
interface IInputPaneInterop : IInspectable
{
    // Creates an instance of InputPane initialized with the window handle.
    HRESULT GetForWindow([in] HWND appWindow, [in] REFIID riid,
        [out, retval, iid_is(riid)] void** inputPane);
}

針對市集應用程式,請使用 InputPane.GetForCurrentView 方法來取得 InputPane 物件。

規格需求

需求
最低支援的用戶端 Windows 10 版本 1607 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2016 [僅限傳統型應用程式]
目標平台 Windows
標頭 inputpaneinterop.h

另請參閱

IInspectable

InputPane

WindowsRuntimeMarshal.GetActivationFactory