Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Gets or sets the IInkDispobject that is associated with an IInkOverlayobject.

Syntax

[propputref] HRESULT putref_Ink ([in] InkDisp *Ink);
[propget] HRESULT get_Ink ([out, retval] InkDisp **Ink
);

Parameters

Ink

Gets or sets the IInkDispobject that is associated with the IInkOverlayobject.

This property is read/write.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

The Inkparameter must be a valid pointer to an Ink pointer.

E_INK_COLLECTOR_ENABLED

Cannot change Ink object while collecting.

E_INK_EXCEPTION

An exception occurred inside the method.

E_INVALIDARG

Invalid hWnd value.

Remarks

The IInkOverlayobject must be disabled before setting this property. To disable the IInkOverlayobject, set the IInkOverlay::Enabledproperty to FALSE. You can then set the Inkproperty, and re-enable the object by setting the Enabledproperty to TRUE.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also