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 the points that make up an IInkStrokeDispstroke object.

Syntax

HRESULT GetPoints (
  [in, optional, defaultvalue(ISC_FirstElement)] long
startingIndex,
  [in, optional, defaultvalue(ISC_AllElements)] long pointCount,
  [out, retval] VARIANT *Points
);

Parameters

startingIndex

The starting index within the array of points that make up the stroke. The default value, ItemSelectionConstants.ISC_FirstElement, specifies the first point.

pointCount

The number of points to return. The default value, ItemSelectionConstants.ISC_AllElements, specifies all of the points that make up the stroke data.

Points

The array of points from the stroke.

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_POINTER

A parameter contained an invalid pointer.

E_OUTOFMEMORY

Cannot allocate memory for the points.

E_INVALIDARG

Invalid index (out of range).

E_INK_EXCEPTION

An exception occurred inside the method.

E_UNEXPECTED

Unexpected parameter or property type.

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