| Store | Cart

ActiveState Docs

ActivePython 2.5 Documentation

Loading...

pythoncom.StgOpenStorageEx

PyIStorage = StgOpenStorageEx(name, grfmode , stgfmt , grfAttrs , riid , pStgOptions )

Advanced version of StgOpenStorage, win2k or better

Parameters

name : string

Name of the stream or file to open

grfmode : int

open flags

stgfmt : int

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

grfAttrs : int

Reserved, must be 0

riid : IID

Interface id to return, IStorage or IPropertySetStorage

pStgOptions : dict

Dictionary representing STGOPTIONS struct (only used with STGFMT_DOCFILE)