CloseIMsgSession
The CloseIMsgSession
function closes a message session.
Note This function
may not be supported in future versions of MAPI.
Quick Info
Header
file: |
IMESSAGE.H |
Implemented
by: |
MAPI |
Called by: |
Client
applications and service providers |
VOID CloseIMsgSession(
LPMSGSESS lpMsgSess |
|
); |
|
Parameters
lpMsgSess
[in] Pointer
to the message session object obtained using the OpenIMsgSession
Remarks
A client
application uses the CloseIMsgSession function along with the OpenIMsgSession
function to wrap the creation of messages inside a message session. When a
client application closes this session, it also closes all messages created
within the session. Using sessions obtained with the IMessage
A message
session keeps track of all messages opened during the session, in addition to
all the tables and attachments within the messages. When a client calls CloseIMsgSession,
it closes all these objects.