mhammond / pywin32

Python for Windows (pywin32) Extensions
4.91k stars 783 forks source link

StgOpenStorageEx #895

Closed ghost closed 6 years ago

ghost commented 20 years ago

Opens extended property sets for normal files (StgOpenStorage only accesses properties for compound object documents - Microsoft binder files, *.obd). Requires Win2k or higher and NTFS.

Files changed: PyStorage.cpp - added StgOpenStorageEx storagecon.py - add constants needed by above PythonCOM.cpp - added FMTID's PythonCOM.h - add forward declaration of PyCom_PyObjectFromSTATPROPSETSTG Register.cpp - add IEnumSTATPROPSETSTG

PyComHelpers.cpp - add PyCom_PyObjectAsSTGOPTIONS, move PyCom_PyObjectFromSTATPROPSETSTG here (renamed)

PyIEnumSTATPROPSETSTG.cpp - new PyIEnumSTATPROPSETSTG.h -new PyIPropertyStorage.cpp - move conversion of
STATPROPSETSTG to PyComHelpers

Reported by: rupole

Original Ticket: "pywin32/patches/21":https://sourceforge.net/p/pywin32/patches/21

ghost commented 20 years ago

Original comment by: rupole

ghost commented 20 years ago

Original comment by: rupole

ghost commented 20 years ago

Original comment by: mhammond

ghost commented 20 years ago

Logged In: YES user_id=14198

Pretty sure this is in too :) StgOpenStorageEx certainly is!

Original comment by: mhammond

ghost commented 20 years ago

Original comment by: mhammond