PyIStorage.CreateStream

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

Creates and opens a stream object with the specified name contained in this storage object. All elements within a storage object — both streams and other storage objects — are kept in the same name space.

Parameters

Name : str

Name of the new stream

Mode : int

Access mode, storagecon.STGM_*

reserved1=0 : int

Reserved - must be zero.

reserved2=0 : int

Reserved - must be zero.