Platform SDK: Exchange Server

Inhibiting Standard Property Pages

During the handshaking procedure between the Microsoft Exchange Server Administrator program and the Administrator extension DLL, the Administrator program calls the ShowPageProc function once for each property page that is standard for the object type, and passes a property page identifier. Property page identifiers are defined in ADMINEXT.H.

To inhibit the display of a standard property page

When the Administrator program calls the ShowPageProc function in your DLL, return TRUE if you want the page to be displayed (default behavior). If you do not want the page to be displayed, return FALSE.

In the following code sample, the Activation Schedule property page is inhibited:

PASCAL BOOL ShowPageProc(UINT iddAdminPage)
{
    if (iddAdminPage == iddGWSchedule)
        return (FALSE);
    else
        return (TRUE);
}