MAPI supplies a default profile provider implementation and a set of common dialog boxes. Typically, service providers will use what MAPI provides. However, it is possible to replace either the profile provider implementation or the set of common dialog boxes. A provider can specify versions of these components in the [MAPI] section of the WIN.INI file or the system registry. Service providers that use the default components need not include this section.
The following entries can be included in the [MAPI] section:
Profile DLL=full path to file
Dialogs=full path to file
ProfileDirectory16=full path to file
The Profile DLL entry specifies the name of the DLL for the MAPI profile provider. The default setting is MAPI.DLL for 16-bit platforms and MAPI32.DLL for 32-bit platforms. The filename included in the path should be the profile provider's base DLL name, that is the DLL name without the suffix.
The Dialogs entry specifies the name of the DLL that contains the implementation for the common dialog boxes. The default setting is WMSUI.DLL for 16-bit platforms and WMSUI32.DLL for 32-bit platforms.
The ProfileDirectory16 entry specifies the path to the directory where the profile files are kept. This entry is supported for 16-bit Windows environments only. The default location is a subdirectory named MAPI under the Windows directory. The ProfileDirectory16 entry can be set either by the user or automatically — for example, by a network logon script. Specifying an explicit path for profile files allows you as a service provider to store these files on a server computer rather than locally, allowing them to be accessed from anywhere in the network.