IInkDesktopHost::CreateInkPresenter method (inkpresenterdesktop.h)

Creates an IInkPresenterDesktop object on an application thread.

The IInkPresenterDesktop object can then be configured and connected to the app's DirectComposition visual tree.

Note  

Use CreateAndInitializeInkPresenter to do this in a single call.

 

Syntax

HRESULT CreateInkPresenter(
  REFIID riid,
  void   **ppv
);

Parameters

riid

A reference to the interface identifier of an IInkPresenterDesktop object.

ppv

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 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header inkpresenterdesktop.h

See also

Complex ink sample

IInkDesktopHost

Pen and stylus interactions

Samples

Complex Ink sample

Simple ink sample