The ScMAPIXFromSMAPI function enables a client application to pass in a Simple MAPI session handle and get back a pointer to a MAPI session object.
Header file: | MAPI.H |
Implemented by: | MAPI |
Called by: | Client applications |
SCODE ScMAPIXFromSMAPI(
LHANDLE lhSimpleSession,
ULONG ulFlags,
LPCIID lpInterface,
LPMAPISESSION FAR * lppMAPISession
);
There are no inverse functions for either the ScMAPIXFromCMC or ScMAPIXFromSMAPI function, that is, a client cannot convert to a CMC session or Simple MAPI session from a MAPI session. Also, a client cannot convert from a Simple MAPI session to a CMC session.
For more information on using this function, see Using Multiple Client Interfaces and Explicit Logon with Simple MAPI.