Platform SDK: Exchange Server |
Adds property sheet pages to the current list of pages.
See IExchExtPropertySheets : IUnknown.
HRESULT GetPages( LPEXCHEXTCALLBACK lpeecb, ULONG ulFlags, LPPROPSHEETPAGE lppsp, ULONG FAR * lpcpsp );
Microsoft Exchange calls the IExchExtPropertySheets::GetPages method when it is building a property sheet and needs each extension object to fill in any pages that will be appended. Microsoft Exchange, not the extension object, handles the allocation of the page array pointed to by the lppsp parameter. Microsoft Exchange allocates this array after it calls the extension object and gets the value returned by the IExchExtPropertySheets::GetMaxPageCount method. The extension object should not allocate its own pages in the lppsp parameter, nor should it free them when the IExchExtPropertySheets::FreePages method is called. Instead, it should free the additional resources added during the call to GetPages.
The Windows 95 property sheet structures are used to describe the pages.