pythoncom.StgCreateStorageEx
PyIStorage = StgCreateStorageEx(Name, Mode
, stgfmt
, Attrs
, riid
, StgOptions
, SecurityDescriptor
)
Creates a new structured storage file or property set
Parameters
Name : string
Name of the stream or file to openMode : int
Access mode, combination of storagecon.STGM_* flagsstgfmt : int
Storage format, storagecon.STGFMT_*Attrs : int
File flags and attributes, only used with STGFMT_DOCFILEriid : PyIID
Interface id to return, IStorage or IPropertySetStorageStgOptions=None : dict
Dictionary representing STGOPTIONS struct (only used with
STGFMT_DOCFILE)
SecurityDescriptor=None : PySECURITY_DESCRIPTOR
Specifies security for the new file.
Must be None on Windows XP.
Comments
Requires Win2k or later
Accepts keyword args