IInkAnalyzer::FindNodesWithCallBack method

Retrieves all of the IContextNode objects that match the specified criteria.

Syntax

HRESULT FindNodesWithCallBack(
  [in]  IMatchesCriteriaCallBack *pCriteria,
  [out] IContextNodes            **ppContextNodesFound
);

Parameters

pCriteria [in]

An IMatchesCriteriaCallBack object that is used to evaluate whether an IContextNode object meets or fails its specified criteria.

ppContextNodesFound [out]

A pointer to the IContextNodes collection containing all nodes that meet the specified criteria.

Return value

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

Remarks

Caution

To avoid a memory leak, call IUnknown::Release on *ppContextNodesFound when you no longer need to use the object.

If the IInkAnalyzer contains no such IContextNode, an empty IContextNodes collection is returned.

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

IInkAnalyzer

IInkAnalyzer::FindInkLeafNodes Method

IInkAnalyzer::FindInkLeafNodesForStrokes Method

IInkAnalyzer::FindLeafNodes Method

IInkAnalyzer::FindNode Method

IInkAnalyzer::FindNodesOfType Method

IInkAnalyzer::FindNodesOfTypeForStrokes Method

IInkAnalyzer::FindNodesOfTypeInSubTree Method

IInkAnalyzer::FindNodesWithCallBackInSubTree Method

Ink Analysis Reference