IContextNode::GetStrokeIds method

Retrieves an array of identifiers for the strokes within the IContextNode object.

Syntax

HRESULT GetStrokeIds(
  [in, out] ULONG *pulStrokeIdsCount,
  [out]     LONG  **pplStrokes
);

Parameters

pulStrokeIdsCount [in, out]

The number of strokes. The value that is passed in is not used.

pplStrokes [out]

A pointer to the array of stroke identifiers for this IContextNode object.

Return value

For a description of the return values, see Classes and Interfaces - Ink Analysis.

Remarks

Caution

To avoid a memory leak, use CoTaskMemFree to release the memory from *pplStrokes when you no longer need the information.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
IACom.h (also requires IACom_i.c)
DLL
IACom.dll

See also

IContextNode

IContextNode::GetStrokeId

IContextNode::GetStrokeCount

Ink Analysis Reference