PyIMessage = OpenIMsgOnIStg(session, support , storage , callback , callbackData , flags )

Builds a new IMessage object on top of an existing OLE IStorage object, to be used within a message session.


session : object

support : PyIMAPISupport

May be None

storage : PyIStorage

A PyIStorage object that is open and has read-only or read/write access. Because IMessage does not support write-only access, OpenIMsgOnIStg does not accept a storage object opened in write-only mode.

callback=None : object

Only None is supported.

callbackData=0 : int

flags=0 : int