Hook Provider Entry Points

Hook providers can expose the following entry points in their DLL.

Entry Point Purpose
HPProviderInit Called when the provider's DLL is loaded. See HPProviderInit.
ServiceEntry Entry point called by MAPI from the system's Control Panel application. See MSGSERVICEENTRY.
WizardEntry Entry point for MAPI configuration wizard. See WIZARDENTRY.

As with all DLLs, the entry points must be called by these names but can map to functions with arbitrary names in your DLL. The HPProviderInit and WizardEntry entry points are required, while the ServiceEntry entry point is optional.