IInkDesktopHost::QueueWorkItem method (inkpresenterdesktop.h)

Add an ink operation to a work queue for execution on the IInkDesktopHost thread.

The app is responsible for synchronizing the work queue with the UI thread.

Syntax

HRESULT QueueWorkItem(
  [in] IInkHostWorkItem *workItem
);

Parameters

[in] workItem

An IInkHostWorkItem object representing an ink operation.

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

IInkDesktopHost

Pen and stylus interactions

Samples

Complex Ink sample

Simple ink sample