Edit

Share via


IMatchesCriteriaCallBack interface

Exposes a method to evaluate whether an IContextNode object meets or fails a specified criteria.

Members

The IMatchesCriteriaCallBack interface inherits from the IUnknown interface. IMatchesCriteriaCallBack also has these types of members:

Methods

The IMatchesCriteriaCallBack interface has these methods.

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

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

IInkAnalyzer::FindNodesWithCallBack Method

IInkAnalyzer::FindNodesWithCallBackInSubTree Method

Ink Analysis Reference