InkDesktopHost class
Implements the IInkDesktopHost interface.
An IInkDesktopHost object enables ink input, processing, and rendering through the creation of an app thread to host an IInkPresenterDesktop object and insert it into the app's DirectComposition visual tree.
Members
The InkDesktopHost class inherits from the IUnknown interface. InkDesktopHost also has these types of members:
Methods
The InkDesktopHost class has these methods.
Method | Description |
---|---|
CreateAndInitializeInkPresenter | Creates an IInkPresenterDesktop object on an application thread, connects it to the app's DirectComposition visual tree, and sets the size of the object. |
CreateInkPresenter | Creates an IInkPresenterDesktop object on an application thread. |
QueueWorkItem | Add an ink operation to a work queue for execution on the InkDesktopHost thread. |
Creation\Access Functions
Use the following to retrieve a reference to the object:
[CoCreateInstance](/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance) | Call [CoCreateInstance](/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance) with the class identifier InkDesktopHost.
|
Requirements
Minimum supported client |
Windows 10 [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
IDL |
|
IID |
IID_IInkDesktopHost is defined as 4ce7d875-a981-4140-a1ff-ad93258e8d59 |
See also
-
Samples