This documentation is archived and is not being maintained.


Last modified: January 16, 2009

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Replaces MAPIInitialize when only select utility functions are being used.

Header file:


Implemented by:


Called by:

Client applications

SCODE ScInitMapiUtil(
  ULONG ulFlags


[in] Reserved; must be zero.


The call succeeded and has returned the expected value or values.

The ScInitMapiUtil and DeinitMapiUtil functions cooperate to call and release select utility functions, as opposed to MAPIInitialize, which calls core as well as utility functions. When ScInitMapiUtil calls utility functions, it also initializes the necessary memory.

When use of the functions that ScInitMapiUtil has called is complete, DeinitMapiUtil must be explicitly called to release them. In contrast, MAPIInitialize implicitly calls DeinitMapiUtil.