The following functions facilitate operations on a MAPI IMessage object built on top of an underlying OLE IStorage object:
CloseIMsgSession
GetAttribIMsgOnIStg
MSGCALLRELEASE prototype
OpenIMsgOnIStg
OpenIMsgSession
SetAttribIMsgOnIStg
Note CloseIMsgSession and OpenIMsgSession may not be supported in future versions of MAPI.