You can use the MAPI_TEMPORARY_PROFILES flag to create MAPI profiles in temporary .mmp files

Article translations Article translations
Article ID: 891425 - View products that this article applies to.
Expand all | Collapse all

INTRODUCTION

Typically, MAPI profiles are created in the HKEY_CURRENT_USER hive of the registry. However, for some MAPI applications that create many profiles, you may not want to do this. You can use the MAPI_TEMPORARY_PROFILES flag to make MAPI store these profiles in temporary .mmp files on disk instead of in the registry.

MORE INFORMATION

The following code defines the MAPI_TEMPORARY_PROFILES flag:
#define MAPI_TEMPORARY_PROFILES			0x00000004
To use this flag, set it in the ulFlags member of the MAPIINIT_0 structure that is passed to the MAPIInitialize function.

This flag causes MAPI to store profiles in temporary .mmp files on disk, instead of storing profiles in the registry.

By default, .mmp files are created in the %WINDIR% directory. However, you can change the default location. For more information about how to change the default location for storing MAPI profiles, click the following article number to view the article in the Microsoft Knowledge Base:
166599 .mmp files created by MAPI and CDO

Properties

Article ID: 891425 - Last Review: October 25, 2007 - Revision: 2.3
APPLIES TO
  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange 2000 Server Standard Edition
  • Microsoft Outlook 2002 Standard Edition
  • Microsoft Messaging Application Programming Interface
Keywords: 
kbinfo KB891425

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com