pythoncom.StgCreateDocfileOnILockBytes

PyIStorage = StgCreateDocfileOnILockBytes(lockBytes, mode , reserved )

Creates a new compound file storage object using the OLE-provided compound file implementation for the PyIStorage interface.

Parameters

lockBytes : PyILockBytes

The PyILockBytes interface on the underlying byte array object on which to create a compound file.

mode : int

Specifies the access mode used to open the storage.

reserved=0 : int

A reserved value