pythoncom.StgOpenStorageEx

PyIStorage = StgOpenStorageEx(Name, Mode , stgfmt , Attrs , riid , StgOptions )

Advanced version of StgOpenStorage, win2k or better

Parameters

Name : string

Name of the stream or file to open

Mode : int

Access mode, combination of storagecon.STGM_* flags

stgfmt : int

Storage format (STGFMT_STORAGE,STGFMT_FILE,STGFMT_ANY, or STGFMT_DOCFILE)

Attrs : int

File flags and attributes, only used with STGFMT_DOCFILE

riid : PyIID

Interface id to return, IStorage or IPropertySetStorage

StgOptions=None : dict

Dictionary representing STGOPTIONS struct (only used with STGFMT_DOCFILE)

Comments

Requires Win2k or later

Accepts keyword args