IInputPaneInterop interface

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

Members

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

Methods

The IInputPaneInterop interface has these methods.

MethodDescription
GetForWindow

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

GetIids

Gets the interfaces that are implemented by the current Windows Runtime class.

GetRuntimeClassName

Gets the fully qualified name of the current Windows Runtime object.

GetTrustLevel

Gets the trust level of the current Windows Runtime object.

 

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

Minimum supported client

Windows 10, version 1607 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

IDL

InputPaneInterop.idl

IID

IID_IInputPaneInterop is defined as 75CF2C57-9195-4931-8332-F0B409E916AF

See also

IInspectable
InputPane
WindowsRuntimeMarshal.GetActivationFactory

 

 

Show: