IInkExtendedProperty::Data
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 Data parameter 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 |