Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 2.44 KB

nf-corewindow-createcontrolinput.md

File metadata and controls

77 lines (61 loc) · 2.44 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:corewindow.CreateControlInput
CreateControlInput function (corewindow.h)
Creates a ICoreInputSourceBase object in the caller’s UI thread.
CreateControlInput
CreateControlInput function [Windows Runtime]
corewindow/CreateControlInput
winrt.createcontrolinput
winrt\createcontrolinput.htm
WinRT
562F6745-DE20-43A9-8A40-A98F478DD505
12/05/2018
CreateControlInput, CreateControlInput function [Windows Runtime], corewindow/CreateControlInput, winrt.createcontrolinput
corewindow.h
Windows
Windows.UI.Core.dll
Windows
19H1
CreateControlInput
corewindow/CreateControlInput
c++
APIRef
kbSyntax
DllExport
Windows.UI.Core.dll
CreateControlInput

CreateControlInput function

-description

Creates a ICoreInputSourceBase object in the caller’s UI thread.

-parameters

-param riid [in]

Interface ID of the object. Must to be set to the UUID for ICoreInputSourceBase, which is 9F488807-4580-4BE8-BE68-92A9311713BB.

-param ppv [out]

Pointer to receive the ICoreInputSourceBase object.

-returns

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

This API must be called from the UI thread to create ICoreInputSourceBase object. The object created using this API can be used only in that thread in which it was created.

If the call is successful, the caller can call QueryInterface on the returned ICoreInputSourceBase object to obtain the ICoreInputInterop object that created it.

-see-also

ICoreInputSourceBase