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 data of the IInkExtendedProperty.

Syntax

[propput] HRESULT put_Data ([in] VARIANT Data);
[propget] HRESULT get_Data ([out, retval] VARIANT *Data);

Parameters

Data

Gets or sets an object that specifies the data of the extended property.

This property is read/write.

For more information about the VARIANT structure, see Using the Automation Library with Windows Mobile Ink.

Return Value

HRESULT value Description

S_OK

Success.

E_OUTOFMEMORY

Not enough memory to allocate variant buffer.

E_UNEXPECTED

Unexpected parameter or property type.

E_INK_EXCEPTION

An exception occurred inside the method.

E_POINTER

The Dataparameter is an invalid pointer.

E_FAIL

An unspecified error occurred.

E_INVALIDARG

The specified mode is invalid.

Remarks

The data consists of information that cannot otherwise be set on the object, such as the time or date that a stroke was made.

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