IAnalysisAlternate::GetStrokeIds method

Returns the stroke identifiers that are associated with this IAnalysisAlternate.

Syntax

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

Parameters

pulStrokeIdsCount [in, out]

A pointer to a ULONG that is set to the number of stroke identifiers associated with this IAnalysisAlternate.

pplStrokeIds [out]

[out, size_is(*pulStrokeIdsCount * sizeof(LONG))]

An array of LONG of length pulStrokeIdsCount that is set to the stroke identifiers associated with this IAnalysisAlternate.

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 *pplStrokeIds 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

IAnalysisAlternate

Ink Analysis Reference