Skip to content

Latest commit

 

History

History
103 lines (69 loc) · 3.96 KB

nf-inkpresenterdesktop-iinkdesktophost-createandinitializeinkpresenter.md

File metadata and controls

103 lines (69 loc) · 3.96 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:inkpresenterdesktop.IInkDesktopHost.CreateAndInitializeInkPresenter
IInkDesktopHost::CreateAndInitializeInkPresenter (inkpresenterdesktop.h)
Creates an IInkPresenterDesktop object on an application thread, connects it to the app's DirectComposition visual tree, and sets the size of the object.
CreateAndInitializeInkPresenter
CreateAndInitializeInkPresenter method
CreateAndInitializeInkPresenter method
IInkDesktopHost interface
IInkDesktopHost interface
CreateAndInitializeInkPresenter method
IInkDesktopHost.CreateAndInitializeInkPresenter
IInkDesktopHost::CreateAndInitializeInkPresenter
InkPresenterDesktop.iinkdesktophost_createandinitializeinkpresenter
inkpresenterdesktop/IInkDesktopHost::CreateAndInitializeInkPresenter
input_ink.iinkdesktophost_createandinitializeinkpresenter
input_ink\iinkdesktophost_createandinitializeinkpresenter.htm
input_ink
596e1180-04ca-474b-b519-f9ebe468fb6a
12/05/2018
CreateAndInitializeInkPresenter, CreateAndInitializeInkPresenter method, CreateAndInitializeInkPresenter method,IInkDesktopHost interface, IInkDesktopHost interface,CreateAndInitializeInkPresenter method, IInkDesktopHost.CreateAndInitializeInkPresenter, IInkDesktopHost::CreateAndInitializeInkPresenter, InkPresenterDesktop.iinkdesktophost_createandinitializeinkpresenter, inkpresenterdesktop/IInkDesktopHost::CreateAndInitializeInkPresenter, input_ink.iinkdesktophost_createandinitializeinkpresenter
inkpresenterdesktop.h
Windows
Windows 10 [desktop apps only]
None supported
InkPresenterDesktop.idl
Windows
19H1
IInkDesktopHost::CreateAndInitializeInkPresenter
inkpresenterdesktop/IInkDesktopHost::CreateAndInitializeInkPresenter
c++
APIRef
kbSyntax
COM
InkPresenterDesktop.h
IInkDesktopHost.CreateAndInitializeInkPresenter

IInkDesktopHost::CreateAndInitializeInkPresenter

-description

Creates an IInkPresenterDesktop object on an application thread, connects it to the app's DirectComposition visual tree, and sets the size of the object.

-parameters

-param rootVisual [in]

The IDCompositionVisual of the app.

-param width [in]

The width, in pixels, of the inking area.

-param height [in]

The height, in pixels, of the inking area.

-param riid [in]

A reference to the interface identifier of an IInkPresenterDesktop object.

-param ppv [out]

Address of a pointer variable that receives the interface pointer identified by riid.

-returns

If successful, returns the requested interface pointer. Otherwise, returns NULL.

-see-also

Complex ink sample

IInkDesktopHost

Pen and stylus interactions

Samples

Complex Ink sample

Simple ink sample