A MAPIINIT_0 is represented as a tuple of:
-
[0] int : version
This must be MAPI_INIT_VERSION.
-
[1] int : flags
MAPI initlization flags.
Value
Meaning
MAPI_MULTITHREAD_NOTIFICATIONSMAPI should generate notifications using a thread dedicated to notification handling rather than the first thread used to call mapi::MAPIInitialize.
MAPI_NT_SERVICEThe caller is running as a NT service. Callers that are not running in a Windows NT service should not set this flag; callers that are running as a service must set this flag.
Multithreaded clients should set MAPI_MULTITHREAD_NOTIFICATIONS flag so that they can receive notifications on threads other than the first thread to call mapi::MAPIInitialize.