IInputPaneInterop interface (inputpaneinterop.h)

Enables access to the members of the InputPane class in a desktop app.

Inheritance

The IInputPaneInterop interface inherits from IInspectable. IInputPaneInterop also has these types of members:

Methods

The IInputPaneInterop interface has these methods.

 
IInputPaneInterop::GetForWindow

Gets an instance of an InputPane object for the specified window.

Remarks

You can obtain an instance of the IInputPaneInterop interface by calling the IUnknown::QueryInterface method on the activation factory instance for the InputPane class.

For an example that uses the IInputPaneInterop interface, see the touch keyboard notification WPF sample.

The following example shows the definition of the IInputPaneInterop interface.

[
    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);
}

For store apps, use the InputPane.GetForCurrentView method to get an InputPane object.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header inputpaneinterop.h

See also

IInspectable

InputPane

WindowsRuntimeMarshal.GetActivationFactory