IInkPresenterDesktop::SetCommitRequestHandler method (inkpresenterdesktop.h)

Sets an IInkCommitRequestHandler object that enables the app (instead of an IInkPresenterDesktop object) to commit all pending Microsoft DirectComposition commands to the app's DirectComposition visual tree.

This supports a custom drying mode and synchronizes the transition of "wet" ink from the IInkPresenterDesktop object to "dry" ink in the app's DirectComposition visual tree.

Syntax

HRESULT SetCommitRequestHandler(
  [in] IInkCommitRequestHandler *handler
);

Parameters

[in] handler

The IInkCommitRequestHandler that processes the ink input.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header inkpresenterdesktop.h

See also

Complex ink sample

IInkPresenterDesktop

Pen and stylus interactions

Samples

Complex Ink sample

Simple ink sample