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(
[in] REFIID riid,
[out] void **ppv
);
Parameters
[in] riid
A reference to the interface identifier of an IInkPresenterDesktop object.
[out] 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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | inkpresenterdesktop.h |
See also
Samples