Implementing WizardEntry for Hook Providers

The WizardEntry entry point is called by the MAPI Profile Wizard. The WizardEntry entry point is responsible for giving the configuration wizard a pointer to the function to be called to handle window events, and a pointer to the full resource name for the wizard dialog box implemented by the hook provider. The WizardEntry entry point must also support programmatic configuration, that is, it should be possible to call this entry point to configure the hook provider without causing any user interface to be displayed.

Note One of the window events you should expect is WIZ_QUERYNUMPAGES. Your event handling procedure should return the number of pages used to configure your hook provider.

For more information, see Supporting Message Service Configuration, WIZARDENTRY, and SERVICEWIZARDDLGPROC.