Platform SDK: Exchange Server

IExchExtAdvancedCriteria : IUnknown

The IExchExtAdvancedCriteria interface is used to enable extension objects to replace or enhance the functionality of the Advanced dialog box that appears when the user selects the Advanced button from the Find dialog box.

Only one advanced criteria interface is used by a single context, although different extension objects can implement advanced criteria dialog boxes used by different contexts, potentially at the same time. The first extension object to be called with the IExchExtAdvancedCriteria::InstallAdvancedCriteria method is given precedence in determining the situations in which to install its advanced criteria dialog box. This ordering depends on the order in which extensions are listed in the registry database. Advanced criteria implementers can choose whether to take responsibility for advanced criteria based on the selected folder or on the existing restriction.

IExchExtAdvancedCriteria is used by Microsoft Exchange only in the EECONTEXT_VIEWER and EECONTEXT_SEARCHVIEWER contexts.

This interface is optional.

Quick Info

Header file: EXCHEXT.H
Exposed by: Extension objects
Implemented by: Extension objects
Called by: Microsoft Exchange
Corresponding pointer type: LPEXCHEXTADVANCEDCRITERIA

Vtable Order

InstallAdvancedCriteria Enables an extension to install its advanced criteria dialog box.
DoDialog Displays an extension’s advanced criteria dialog box.
Clear Prompts an extension to clear all of its advanced criteria.
SetFolders Called when the folders have been changed.
QueryRestriction Returns a restriction object and a text representation of the restriction.
UninstallAdvancedCriteria Called when the criteria user interface is closed and enables extensions to release resources.