Compartir a través de


InkDesktopHost.CreateInkPresenter method

Creates an IInkPresenterDesktop object on an application thread.

The IInkPresenterDesktop object can then be configured and connected to the DirectComposition visual tree of the Classic Windows app.

Note  

Use CreateAndInitializeInkPresenter to do this in a single call.

 

Syntax

HRESULT CreateInkPresenter(
  [in]  REFIID riid,
  [out] void   **ppv
);

Parameters

  • riid [in]
    A reference to the interface identifier of an IInkPresenterDesktop object.

  • ppv [out]
    Address of a pointer variable that receives the interface pointer identified by riid.

Return value

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

Requirements

Minimum supported client

Windows 10

Minimum supported server

None supported

Header

InkPresenterDesktop.h

IDL

InkPresenterDesktop.idl

IID

IID_IInkDesktopHost is defined as 4ce7d875-a981-4140-a1ff-ad93258e8d59

See also

InkDesktopHost

Pen and stylus interactions

Samples

Ink sample

Simple ink sample

Complex ink sample