IMatchesCriteriaCallBack::EvaluateContextNode method

When overridden in a derived class, evaluates whether a specified IContextNode object meets the criteria.

Syntax

HRESULT EvaluateContextNode(
  [in]  IContextNode *pContextNodeToEvaluate,
  [out] VARIANT_BOOL *pbResult
);

Parameters

pContextNodeToEvaluate [in]

The IContextNode object to evaluate.

pbResult [out]

VARIANT_TRUE if pContextNodeToEvaluate matches the criteria; otherwise, VARIANT_FALSE.

Return value

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

Remarks

To use IInkAnalyzer::FindNodesWithCallBack Method or IInkAnalyzer::FindNodesWithCallBackInSubTree Method, create a class that implements IMatchesCriteriaCallBack. Implement IMatchesCriteriaCallBack::EvaluateContextNode to return VARIANT_TRUE if the IContextNode object matches your criteria, and VARIANT_FALSE otherwise. For some criteria, you may need to provide a means of initializing or maintaining the state of your IMatchesCriteriaCallBack object.

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

IMatchesCriteriaCallBack

IInkAnalyzer::FindNodesWithCallBack Method

IInkAnalyzer::FindNodesWithCallBackInSubTree Method

Ink Analysis Reference