mapi_logout_ex
| MS Exchange Server Functions (mapi) |
Logs out from a specific MS Exchange session.
int mapi_logout_ex( MAPI *ppmapi );
| ppmapi | A session identifier. |
The mapi_logout_ex function logs off from the MAPI server for a specific function.
This function is for use with multiple sessions. For global sessions, use the mapi_logout function, which leaves out the session identifier.
Return Values
If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.
Parameterization
Standard parameterization is not available for this function.
Example
In the following example, the mapi_logout_ex function logs off from the server.
mapi_logon_ex(&mapi,"Logon", "ProfileName=John Smith", "ProfilePass=Tiger", LAST );
....
mapi_logout_ex(&mapi);

