Platform SDK: Exchange Server

IExchExtAdvancedCriteria::SetFolders

Notifies an extension object when the folders to which the search criteria apply have been changed.

Quick Info

See IExchExtAdvancedCriteria : IUnknown.

VOID SetFolders(
  LPENTRYLIST lpeidl,   
  ULONG ulFlags         
);
 

Parameters

lpeidl
[in] Pointer to an array of folder entry identifiers to which the search criteria will be applied.
ulFlags
[in] Bitmask of flags. The following flag can be set:
EEAC_INCLUDESUBFOLDERS
Microsoft Exchange sets the ulFlags parameter to this value to specify that subfolders of the lpeidl parameter are to be included in the search.

Remarks

Microsoft Exchange calls the IExchExtAdvancedCriteria::SetFolders method when the user changes the folders to which the search criteria will be applied. This enables extensions to take additional actions, depending on the newly selected folder.