Platform SDK: Exchange Server

IExchExtPropertySheets::FreePages

Frees all resources allocated by the IExchExtPropertSheets::GetPages method.

Quick Info

See IExchExtPropertySheets : IUnknown.

VOID FreePages(
  LPPROPSHEETPAGE lppsp,   
  ULONG ulFlags,           
  ULONG cpsp               
);
 

Parameters

lppsp
[in] Pointer to a pointer to the first page of a list of property sheet pages previously added. The extension object should not free the memory associated with the lppsp parameter because this parameter points to an element of an array allocated by Microsoft Exchange.
cpsp
Input parameter containing the number of property sheet pages added to the lppsp parameter by the extension object.
ulFlags
[in] Bitmask of flags used to indicate the type of property sheet whose pages are being freed. The following flags can be set:
EEPS_MESSAGE
A message’s property sheet.
EEPS_FOLDER
A folder’s property sheet.
EEPS_STORE
A store’s property sheet.
EEPS_TOOLSOPTIONS
The Tools.Options property sheet.

Remarks

Microsoft Exchange calls the IExchExtPropertySheets::FreePages method when the user closes the properties dialog box and Microsoft Exchange prompts the extension objects to free their pages and other associated resources and interfaces.