PyIStorage.OpenStream

PyIStream = OpenStream(Name, reserved1 , Mode , reserved2 )

Opens an existing stream object within this storage object in the specified access mode.

Parameters

Name : str

Name of stream to be opened

reserved1 : object

A reserved param. Always pass None. NULL is always passed to the COM function

Mode : int

Access mode, storagecon.STGM_*

reserved2=0 : int

Reserved - must be zero.