Partager via


InkDesktopHost.QueueWorkItem method

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

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

Syntax

HRESULT QueueWorkItem(
  [in] IInkHostWorkItem *workItem
);

Parameters

Return value

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

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