PyIStorage.OpenStream

PyIStream = OpenStream(pwcsName, reserved1 , grfMode , reserved2 )

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

Parameters

pwcsName : string

Description for pwcsName

reserved1 : object

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

grfMode : int

Specifies the access mode to be assigned to the open stream. See the STGM enumeration values for descriptions of the possible values. . Whatever other modes you may choose, you must at least specify STGM_SHARE_EXCLUSIVE when calling this method.

reserved2=0 : int

Reserved - must be zero.