Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ScInitMapiUtil

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Replaces MAPIInitialize when only select utility functions are being used.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications

SCODE ScInitMapiUtil(
  ULONG ulFlags
);

ulFlags

[in] Reserved; must be zero.

S_OK

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.

Show:
© 2015 Microsoft