ScInitMapiUtil
Applies to: Outlook 2013 | Outlook 2016
Replaces MAPIInitialize when only select utility functions are being used.
Property | Value |
---|---|
Header file: |
Mapiutil.h |
Implemented by: |
MAPI |
Called by: |
Client applications |
SCODE ScInitMapiUtil(
ULONG ulFlags
);
Parameters
ulFlags
[in] Reserved; must be zero.
Return value
S_OK
The call succeeded and has returned the expected value or values.
Remarks
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.