8#if !defined(OCF_OCSTORAG_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
97 FILETIME
const * patime,
98 FILETIME
const * pmtime);
107 static HRESULT
SetTimes(LPCTSTR lpszName,
108 FILETIME
const * pctime,
109 FILETIME
const * patime,
110 FILETIME
const * pmtime);
HRESULT SetElementTimes(LPCTSTR name, FILETIME const *pctime, FILETIME const *patime, FILETIME const *pmtime)
HRESULT OpenStream(LPCTSTR name, void *rsrvd1, owl::uint32 grfMode, owl::uint32 rsrvd2, IStream **stream)
static HRESULT SetTimes(LPCTSTR lpszName, FILETIME const *pctime, FILETIME const *patime, FILETIME const *pmtime)
HRESULT MoveElementTo(LPCTSTR name, TOcStorage &dest, LPCTSTR newName, owl::uint32 grfFlags)
HRESULT CreateStorage(LPCTSTR name, owl::uint32 mode, owl::uint32 rsrvd1, owl::uint32 rsrvd2, IStorage **storage)
HRESULT CopyTo(owl::uint32 ciidExclude, IID const *rgiidExclude, SNB snbExclude, TOcStorage &dest)
HRESULT SwitchToFile(LPCTSTR newPath)
TOcStorage(LPCTSTR fileName, bool create, owl::uint32 mode=STGM_READWRITE|STGM_TRANSACTED)
HRESULT Commit(owl::uint32 grfCommitFlags)
HRESULT CreateStream(LPCTSTR name, owl::uint32 mode, owl::uint32 rsrvd1, owl::uint32 rsrvd2, IStream **stream)
static HRESULT IsStorageFile(LPCTSTR pwcsName)
HRESULT RenameElement(LPCTSTR oldName, LPCTSTR newName)
HRESULT EnumElements(owl::uint32 reserved1, void *reserved2, owl::uint32 reserved3, IEnumSTATSTG **ppenm)
HRESULT SetStateBits(owl::uint32 grfStateBits, owl::uint32 grfMask)
HRESULT DestroyElement(LPCTSTR name)
static HRESULT IsStorageILockBytes(ILockBytes *plkbyt)
HRESULT Stat(STATSTG *pstatstg, owl::uint32 grfStatFlag)
HRESULT SetClass(const IID &clsid)
HRESULT OpenStorage(LPCTSTR name, IStorage *stgPriority, owl::uint32 mode, SNB snbExclude, owl::uint32 rsrvd, IStorage **storage)
HRESULT Clone(IStream **ppstm)
HRESULT LockRegion(owl::uint64 offset, owl::uint64 cb, owl::uint32 lockType)
HRESULT Write(void const *pv, owl::ulong cb, owl::ulong *written=0)
HRESULT CopyTo(TOcStream &stream, owl::uint64 cb, owl::uint64 *read=0, owl::uint64 *written=0)
HRESULT SetSize(owl::uint64 newSize)
HRESULT Commit(owl::uint32 commitFlags)
HRESULT UnlockRegion(owl::uint64 offset, owl::uint64 cb, owl::uint32 lockType)
HRESULT Read(void *pv, owl::ulong cb, owl::ulong *read=0)
HRESULT Seek(owl::int64 move, owl::uint32 origin=STREAM_SEEK_SET, owl::uint64 *newPosition=0)
HRESULT Stat(STATSTG *statstg, owl::uint32 statFlag)
TOcStream(TOcStorage &storage, LPCTSTR name, bool create, owl::uint32 mode=STGM_READWRITE)
Object Component Framework (COM encapsulation).
ObjectComponents BOcOle engine linking & embedding interfaces.
interface _ICLASS IStorage
ObjectComponents fundamental definitions.
interface _ICLASS ILockBytes
interface _ICLASS IRootStorage
interface _ICLASS IStream
interface _ICLASS IEnumSTATSTG