ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

storage32.c File Reference
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winuser.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "storage32.h"
#include "ole2.h"
#include "winreg.h"
#include "wine/wingdi16.h"

Go to the source code of this file.

Data Structures

struct  StorageInternalImpl
struct  TransactedDirEntry
struct  TransactedSnapshotImpl
struct  OLECONVERT_OLESTREAM_DATA
struct  OLECONVERT_ISTORAGE_COMPOBJ
struct  OLECONVERT_ISTORAGE_OLEPRES
struct  IEnumSTATSTGImpl

Defines

#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define OLESTREAM_ID   0x501
#define OLESTREAM_MAX_STR_LEN   255

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (storage)
static StorageInternalImplStorageInternalImpl_Construct (StorageBaseImpl *parentStorage, DWORD openFlags, DirRef storageDirEntry)
static void StorageImpl_Destroy (StorageBaseImpl *iface)
static void StorageImpl_Invalidate (StorageBaseImpl *iface)
static HRESULT StorageImpl_Flush (StorageBaseImpl *iface)
static BOOL StorageImpl_ReadBigBlock (StorageImpl *This, ULONG blockIndex, void *buffer)
static BOOL StorageImpl_WriteBigBlock (StorageImpl *This, ULONG blockIndex, const void *buffer)
static void StorageImpl_SetNextBlockInChain (StorageImpl *This, ULONG blockIndex, ULONG nextBlock)
static HRESULT StorageImpl_LoadFileHeader (StorageImpl *This)
static void StorageImpl_SaveFileHeader (StorageImpl *This)
static void Storage32Impl_AddBlockDepot (StorageImpl *This, ULONG blockIndex)
static ULONG Storage32Impl_AddExtBlockDepot (StorageImpl *This)
static ULONG Storage32Impl_GetNextExtendedBlock (StorageImpl *This, ULONG blockIndex)
static ULONG Storage32Impl_GetExtDepotBlock (StorageImpl *This, ULONG depotIndex)
static void Storage32Impl_SetExtDepotBlock (StorageImpl *This, ULONG depotIndex, ULONG blockIndex)
static ULONG BlockChainStream_GetHeadOfChain (BlockChainStream *This)
static ULARGE_INTEGER BlockChainStream_GetSize (BlockChainStream *This)
static ULONG BlockChainStream_GetCount (BlockChainStream *This)
static ULARGE_INTEGER SmallBlockChainStream_GetSize (SmallBlockChainStream *This)
static ULONG SmallBlockChainStream_GetHeadOfChain (SmallBlockChainStream *This)
static BOOL StorageImpl_WriteDWordToBigBlock (StorageImpl *This, ULONG blockIndex, ULONG offset, DWORD value)
static BOOL StorageImpl_ReadDWordFromBigBlock (StorageImpl *This, ULONG blockIndex, ULONG offset, DWORD *value)
static BOOL StorageBaseImpl_IsStreamOpen (StorageBaseImpl *stg, DirRef streamEntry)
static BOOL StorageBaseImpl_IsStorageOpen (StorageBaseImpl *stg, DirRef storageEntry)
static HRESULT Storage_ConstructTransacted (StorageBaseImpl *parent, StorageBaseImpl **result)
static HRESULT deleteStorageContents (StorageBaseImpl *parentStorage, DirRef indexToDelete, DirEntry entryDataToDelete)
static HRESULT deleteStreamContents (StorageBaseImpl *parentStorage, DirRef indexToDelete, DirEntry entryDataToDelete)
static HRESULT removeFromTree (StorageBaseImpl *This, DirRef parentStorageIndex, DirRef deletedIndex)
static HRESULT insertIntoTree (StorageBaseImpl *This, DirRef parentStorageIndex, DirRef newEntryIndex)
static LONG entryNameCmp (const OLECHAR *name1, const OLECHAR *name2)
static DirRef findElement (StorageBaseImpl *storage, DirRef storageEntry, const OLECHAR *name, DirEntry *data)
static HRESULT findTreeParent (StorageBaseImpl *storage, DirRef storageEntry, const OLECHAR *childName, DirEntry *parentData, DirRef *parentEntry, ULONG *relation)
static HRESULT validateSTGM (DWORD stgmValue)
static DWORD GetShareModeFromSTGM (DWORD stgm)
static DWORD GetAccessModeFromSTGM (DWORD stgm)
static DWORD GetCreationModeFromSTGM (DWORD stgm)
static IEnumSTATSTGImplimpl_from_IEnumSTATSTG (IEnumSTATSTG *iface)
static IEnumSTATSTGImplIEnumSTATSTGImpl_Construct (StorageBaseImpl *This, DirRef storageDirEntry)
static void IEnumSTATSTGImpl_Destroy (IEnumSTATSTGImpl *This)
static ULONG StorageImpl_GetBigBlockOffset (StorageImpl *This, ULONG index)
static HRESULT StorageImpl_ReadAt (StorageImpl *This, ULARGE_INTEGER offset, void *buffer, ULONG size, ULONG *bytesRead)
static HRESULT StorageImpl_WriteAt (StorageImpl *This, ULARGE_INTEGER offset, const void *buffer, const ULONG size, ULONG *bytesWritten)
static HRESULT WINAPI StorageBaseImpl_QueryInterface (IStorage *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI StorageBaseImpl_AddRef (IStorage *iface)
static ULONG WINAPI StorageBaseImpl_Release (IStorage *iface)
static HRESULT WINAPI StorageBaseImpl_OpenStream (IStorage *iface, const OLECHAR *pwcsName, void *reserved1, DWORD grfMode, DWORD reserved2, IStream **ppstm)
static HRESULT WINAPI StorageBaseImpl_OpenStorage (IStorage *iface, const OLECHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstg)
static HRESULT WINAPI StorageBaseImpl_EnumElements (IStorage *iface, DWORD reserved1, void *reserved2, DWORD reserved3, IEnumSTATSTG **ppenum)
static HRESULT WINAPI StorageBaseImpl_Stat (IStorage *iface, STATSTG *pstatstg, DWORD grfStatFlag)
static HRESULT WINAPI StorageBaseImpl_RenameElement (IStorage *iface, const OLECHAR *pwcsOldName, const OLECHAR *pwcsNewName)
static HRESULT WINAPI StorageBaseImpl_CreateStream (IStorage *iface, const OLECHAR *pwcsName, DWORD grfMode, DWORD reserved1, DWORD reserved2, IStream **ppstm)
static HRESULT WINAPI StorageBaseImpl_SetClass (IStorage *iface, REFCLSID clsid)
static HRESULT WINAPI StorageBaseImpl_CreateStorage (IStorage *iface, const OLECHAR *pwcsName, DWORD grfMode, DWORD reserved1, DWORD reserved2, IStorage **ppstg)
static HRESULT StorageImpl_CreateDirEntry (StorageBaseImpl *base, const DirEntry *newData, DirRef *index)
static HRESULT StorageImpl_DestroyDirEntry (StorageBaseImpl *base, DirRef index)
static HRESULT StorageBaseImpl_CopyStorageEntryTo (StorageBaseImpl *This, DirRef srcEntry, BOOL skip_storage, BOOL skip_stream, SNB snbExclude, IStorage *pstgDest)
static HRESULT StorageBaseImpl_CopyChildEntryTo (StorageBaseImpl *This, DirRef srcEntry, BOOL skip_storage, BOOL skip_stream, SNB snbExclude, IStorage *pstgDest)
static HRESULT WINAPI StorageBaseImpl_CopyTo (IStorage *iface, DWORD ciidExclude, const IID *rgiidExclude, SNB snbExclude, IStorage *pstgDest)
static HRESULT WINAPI StorageBaseImpl_MoveElementTo (IStorage *iface, const OLECHAR *pwcsName, IStorage *pstgDest, const OLECHAR *pwcsNewName, DWORD grfFlags)
static HRESULT WINAPI StorageImpl_Commit (IStorage *iface, DWORD grfCommitFlags)
static HRESULT WINAPI StorageImpl_Revert (IStorage *iface)
static HRESULT WINAPI StorageBaseImpl_DestroyElement (IStorage *iface, const OLECHAR *pwcsName)
void StorageBaseImpl_AddStream (StorageBaseImpl *stg, StgStreamImpl *strm)
void StorageBaseImpl_RemoveStream (StorageBaseImpl *stg, StgStreamImpl *strm)
static void StorageBaseImpl_DeleteAll (StorageBaseImpl *stg)
static void setEntryLink (DirEntry *entry, ULONG relation, DirRef new_target)
static HRESULT WINAPI StorageBaseImpl_SetElementTimes (IStorage *iface, const OLECHAR *pwcsName, const FILETIME *pctime, const FILETIME *patime, const FILETIME *pmtime)
static HRESULT WINAPI StorageBaseImpl_SetStateBits (IStorage *iface, DWORD grfStateBits, DWORD grfMask)
static HRESULT StorageImpl_BaseWriteDirEntry (StorageBaseImpl *base, DirRef index, const DirEntry *data)
static HRESULT StorageImpl_BaseReadDirEntry (StorageBaseImpl *base, DirRef index, DirEntry *data)
static BlockChainStream ** StorageImpl_GetFreeBlockChainCacheEntry (StorageImpl *This)
static BlockChainStream ** StorageImpl_GetCachedBlockChainStream (StorageImpl *This, DirRef index)
static void StorageImpl_DeleteCachedBlockChainStream (StorageImpl *This, DirRef index)
static HRESULT StorageImpl_StreamReadAt (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER offset, ULONG size, void *buffer, ULONG *bytesRead)
static HRESULT StorageImpl_StreamSetSize (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER newsize)
static HRESULT StorageImpl_StreamWriteAt (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER offset, ULONG size, const void *buffer, ULONG *bytesWritten)
static HRESULT StorageImpl_StreamLink (StorageBaseImpl *base, DirRef dst, DirRef src)
static HRESULT StorageImpl_GetFilename (StorageBaseImpl *iface, LPWSTR *result)
static HRESULT StorageImpl_Construct (HANDLE hFile, LPCOLESTR pwcsName, ILockBytes *pLkbyt, DWORD openFlags, BOOL fileBased, BOOL create, ULONG sector_size, StorageImpl **result)
static ULONG StorageImpl_GetNextFreeBigBlock (StorageImpl *This)
static void StorageImpl_FreeBigBlock (StorageImpl *This, ULONG blockIndex)
static HRESULT StorageImpl_GetNextBlockInChain (StorageImpl *This, ULONG blockIndex, ULONG *nextBlockIndex)
HRESULT StorageImpl_ReadRawDirEntry (StorageImpl *This, ULONG index, BYTE *buffer)
HRESULT StorageImpl_WriteRawDirEntry (StorageImpl *This, ULONG index, const BYTE *buffer)
void UpdateRawDirEntry (BYTE *buffer, const DirEntry *newData)
HRESULT StorageImpl_ReadDirEntry (StorageImpl *This, DirRef index, DirEntry *buffer)
HRESULT StorageImpl_WriteDirEntry (StorageImpl *This, DirRef index, const DirEntry *buffer)
BlockChainStreamStorage32Impl_SmallBlocksToBigBlocks (StorageImpl *This, SmallBlockChainStream **ppsbChain)
SmallBlockChainStreamStorage32Impl_BigBlocksToSmallBlocks (StorageImpl *This, BlockChainStream **ppbbChain, ULARGE_INTEGER newSize)
static HRESULT StorageBaseImpl_CopyStream (StorageBaseImpl *dst, DirRef dst_entry, StorageBaseImpl *src, DirRef src_entry)
static DirRef TransactedSnapshotImpl_FindFreeEntry (TransactedSnapshotImpl *This)
static DirRef TransactedSnapshotImpl_CreateStubEntry (TransactedSnapshotImpl *This, DirRef parentEntryRef)
static HRESULT TransactedSnapshotImpl_EnsureReadEntry (TransactedSnapshotImpl *This, DirRef entry)
static HRESULT TransactedSnapshotImpl_MakeStreamDirty (TransactedSnapshotImpl *This, DirRef entry)
static DirRef TransactedSnapshotImpl_FindFirstChild (TransactedSnapshotImpl *This, DirRef parent)
static DirRef TransactedSnapshotImpl_FindNextChild (TransactedSnapshotImpl *This, DirRef current)
static BOOL TransactedSnapshotImpl_MadeCopy (TransactedSnapshotImpl *This, DirRef entry)
static void TransactedSnapshotImpl_DestroyTemporaryCopy (TransactedSnapshotImpl *This, DirRef stop)
static HRESULT TransactedSnapshotImpl_CopyTree (TransactedSnapshotImpl *This)
static HRESULT WINAPI TransactedSnapshotImpl_Commit (IStorage *iface, DWORD grfCommitFlags)
static HRESULT WINAPI TransactedSnapshotImpl_Revert (IStorage *iface)
static void TransactedSnapshotImpl_Invalidate (StorageBaseImpl *This)
static void TransactedSnapshotImpl_Destroy (StorageBaseImpl *iface)
static HRESULT TransactedSnapshotImpl_Flush (StorageBaseImpl *iface)
static HRESULT TransactedSnapshotImpl_GetFilename (StorageBaseImpl *iface, LPWSTR *result)
static HRESULT TransactedSnapshotImpl_CreateDirEntry (StorageBaseImpl *base, const DirEntry *newData, DirRef *index)
static HRESULT TransactedSnapshotImpl_WriteDirEntry (StorageBaseImpl *base, DirRef index, const DirEntry *data)
static HRESULT TransactedSnapshotImpl_ReadDirEntry (StorageBaseImpl *base, DirRef index, DirEntry *data)
static HRESULT TransactedSnapshotImpl_DestroyDirEntry (StorageBaseImpl *base, DirRef index)
static HRESULT TransactedSnapshotImpl_StreamReadAt (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER offset, ULONG size, void *buffer, ULONG *bytesRead)
static HRESULT TransactedSnapshotImpl_StreamWriteAt (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER offset, ULONG size, const void *buffer, ULONG *bytesWritten)
static HRESULT TransactedSnapshotImpl_StreamSetSize (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER newsize)
static HRESULT TransactedSnapshotImpl_StreamLink (StorageBaseImpl *base, DirRef dst, DirRef src)
static HRESULT TransactedSnapshotImpl_Construct (StorageBaseImpl *parentStorage, TransactedSnapshotImpl **result)
static HRESULT Storage_Construct (HANDLE hFile, LPCOLESTR pwcsName, ILockBytes *pLkbyt, DWORD openFlags, BOOL fileBased, BOOL create, ULONG sector_size, StorageBaseImpl **result)
static void StorageInternalImpl_Invalidate (StorageBaseImpl *base)
static void StorageInternalImpl_Destroy (StorageBaseImpl *iface)
static HRESULT StorageInternalImpl_Flush (StorageBaseImpl *iface)
static HRESULT StorageInternalImpl_GetFilename (StorageBaseImpl *iface, LPWSTR *result)
static HRESULT StorageInternalImpl_CreateDirEntry (StorageBaseImpl *base, const DirEntry *newData, DirRef *index)
static HRESULT StorageInternalImpl_WriteDirEntry (StorageBaseImpl *base, DirRef index, const DirEntry *data)
static HRESULT StorageInternalImpl_ReadDirEntry (StorageBaseImpl *base, DirRef index, DirEntry *data)
static HRESULT StorageInternalImpl_DestroyDirEntry (StorageBaseImpl *base, DirRef index)
static HRESULT StorageInternalImpl_StreamReadAt (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER offset, ULONG size, void *buffer, ULONG *bytesRead)
static HRESULT StorageInternalImpl_StreamWriteAt (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER offset, ULONG size, const void *buffer, ULONG *bytesWritten)
static HRESULT StorageInternalImpl_StreamSetSize (StorageBaseImpl *base, DirRef index, ULARGE_INTEGER newsize)
static HRESULT StorageInternalImpl_StreamLink (StorageBaseImpl *base, DirRef dst, DirRef src)
static HRESULT WINAPI StorageInternalImpl_Commit (IStorage *iface, DWORD grfCommitFlags)
static HRESULT WINAPI StorageInternalImpl_Revert (IStorage *iface)
static HRESULT WINAPI IEnumSTATSTGImpl_QueryInterface (IEnumSTATSTG *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI IEnumSTATSTGImpl_AddRef (IEnumSTATSTG *iface)
static ULONG WINAPI IEnumSTATSTGImpl_Release (IEnumSTATSTG *iface)
static HRESULT IEnumSTATSTGImpl_GetNextRef (IEnumSTATSTGImpl *This, DirRef *ref)
static HRESULT WINAPI IEnumSTATSTGImpl_Next (IEnumSTATSTG *iface, ULONG celt, STATSTG *rgelt, ULONG *pceltFetched)
static HRESULT WINAPI IEnumSTATSTGImpl_Skip (IEnumSTATSTG *iface, ULONG celt)
static HRESULT WINAPI IEnumSTATSTGImpl_Reset (IEnumSTATSTG *iface)
static HRESULT WINAPI IEnumSTATSTGImpl_Clone (IEnumSTATSTG *iface, IEnumSTATSTG **ppenum)
void StorageUtl_ReadWord (const BYTE *buffer, ULONG offset, WORD *value)
void StorageUtl_WriteWord (BYTE *buffer, ULONG offset, WORD value)
void StorageUtl_ReadDWord (const BYTE *buffer, ULONG offset, DWORD *value)
void StorageUtl_WriteDWord (BYTE *buffer, ULONG offset, DWORD value)
void StorageUtl_ReadULargeInteger (const BYTE *buffer, ULONG offset, ULARGE_INTEGER *value)
void StorageUtl_WriteULargeInteger (BYTE *buffer, ULONG offset, const ULARGE_INTEGER *value)
void StorageUtl_ReadGUID (const BYTE *buffer, ULONG offset, GUID *value)
void StorageUtl_WriteGUID (BYTE *buffer, ULONG offset, const GUID *value)
void StorageUtl_CopyDirEntryToSTATSTG (StorageBaseImpl *storage, STATSTG *destination, const DirEntry *source, int statFlags)
HRESULT BlockChainStream_UpdateIndexCache (BlockChainStream *This)
ULONG BlockChainStream_GetSectorOfOffset (BlockChainStream *This, ULONG offset)
HRESULT BlockChainStream_GetBlockAtOffset (BlockChainStream *This, ULONG index, BlockChainBlock **block, ULONG *sector, BOOL create)
BlockChainStreamBlockChainStream_Construct (StorageImpl *parentStorage, ULONG *headOfStreamPlaceHolder, DirRef dirEntry)
HRESULT BlockChainStream_Flush (BlockChainStream *This)
void BlockChainStream_Destroy (BlockChainStream *This)
HRESULT BlockChainStream_ReadAt (BlockChainStream *This, ULARGE_INTEGER offset, ULONG size, void *buffer, ULONG *bytesRead)
HRESULT BlockChainStream_WriteAt (BlockChainStream *This, ULARGE_INTEGER offset, ULONG size, const void *buffer, ULONG *bytesWritten)
static BOOL BlockChainStream_Shrink (BlockChainStream *This, ULARGE_INTEGER newSize)
static BOOL BlockChainStream_Enlarge (BlockChainStream *This, ULARGE_INTEGER newSize)
BOOL BlockChainStream_SetSize (BlockChainStream *This, ULARGE_INTEGER newSize)
SmallBlockChainStreamSmallBlockChainStream_Construct (StorageImpl *parentStorage, ULONG *headOfStreamPlaceHolder, DirRef dirEntry)
void SmallBlockChainStream_Destroy (SmallBlockChainStream *This)
static HRESULT SmallBlockChainStream_GetNextBlockInChain (SmallBlockChainStream *This, ULONG blockIndex, ULONG *nextBlockInChain)
static void SmallBlockChainStream_SetNextBlockInChain (SmallBlockChainStream *This, ULONG blockIndex, ULONG nextBlock)
static void SmallBlockChainStream_FreeBlock (SmallBlockChainStream *This, ULONG blockIndex)
static ULONG SmallBlockChainStream_GetNextFreeBlock (SmallBlockChainStream *This)
HRESULT SmallBlockChainStream_ReadAt (SmallBlockChainStream *This, ULARGE_INTEGER offset, ULONG size, void *buffer, ULONG *bytesRead)
HRESULT SmallBlockChainStream_WriteAt (SmallBlockChainStream *This, ULARGE_INTEGER offset, ULONG size, const void *buffer, ULONG *bytesWritten)
static BOOL SmallBlockChainStream_Shrink (SmallBlockChainStream *This, ULARGE_INTEGER newSize)
static BOOL SmallBlockChainStream_Enlarge (SmallBlockChainStream *This, ULARGE_INTEGER newSize)
BOOL SmallBlockChainStream_SetSize (SmallBlockChainStream *This, ULARGE_INTEGER newSize)
static ULONG SmallBlockChainStream_GetCount (SmallBlockChainStream *This)
static HRESULT create_storagefile (LPCOLESTR pwcsName, DWORD grfMode, DWORD grfAttrs, STGOPTIONS *pStgOptions, REFIID riid, void **ppstgOpen)
HRESULT WINAPI StgCreateDocfile (LPCOLESTR pwcsName, DWORD grfMode, DWORD reserved, IStorage **ppstgOpen)
HRESULT WINAPI StgCreateStorageEx (const WCHAR *pwcsName, DWORD grfMode, DWORD stgfmt, DWORD grfAttrs, STGOPTIONS *pStgOptions, void *reserved, REFIID riid, void **ppObjectOpen)
HRESULT WINAPI StgCreatePropSetStg (IStorage *pstg, DWORD reserved, IPropertySetStorage **ppPropSetStg)
HRESULT WINAPI StgOpenStorageEx (const WCHAR *pwcsName, DWORD grfMode, DWORD stgfmt, DWORD grfAttrs, STGOPTIONS *pStgOptions, void *reserved, REFIID riid, void **ppObjectOpen)
HRESULT WINAPI StgOpenStorage (const OLECHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen)
HRESULT WINAPI StgCreateDocfileOnILockBytes (ILockBytes *plkbyt, DWORD grfMode, DWORD reserved, IStorage **ppstgOpen)
HRESULT WINAPI StgOpenStorageOnILockBytes (ILockBytes *plkbyt, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen)
HRESULT WINAPI StgSetTimes (OLECHAR const *str, FILETIME const *pctime, FILETIME const *patime, FILETIME const *pmtime)
HRESULT WINAPI StgIsStorageILockBytes (ILockBytes *plkbyt)
HRESULT WINAPI WriteClassStg (IStorage *pStg, REFCLSID rclsid)
HRESULT WINAPI ReadClassStg (IStorage *pstg, CLSID *pclsid)
HRESULT WINAPI OleLoadFromStream (IStream *pStm, REFIID iidInterface, void **ppvObj)
HRESULT WINAPI OleSaveToStream (IPersistStream *pPStm, IStream *pStm)
static HRESULT OLECONVERT_LoadOLE10 (LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *pData, BOOL bStrem1)
static HRESULT OLECONVERT_SaveOLE10 (OLECONVERT_OLESTREAM_DATA *pData, LPOLESTREAM pOleStream)
static void OLECONVERT_GetOLE20FromOLE10 (LPSTORAGE pDestStorage, const BYTE *pBuffer, DWORD nBufferLength)
static DWORD OLECONVERT_WriteOLE20ToBuffer (LPSTORAGE pStorage, BYTE **pData)
void OLECONVERT_CreateOleStream (LPSTORAGE pStorage)
static HRESULT STREAM_WriteString (IStream *stm, LPCWSTR string)
static HRESULT STREAM_ReadString (IStream *stm, LPWSTR *string)
static HRESULT STORAGE_WriteCompObj (LPSTORAGE pstg, CLSID *clsid, LPCWSTR lpszUserType, LPCWSTR szClipName, LPCWSTR szProgIDName)
HRESULT WINAPI WriteFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType)
HRESULT WINAPI ReadFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT *pcf, LPOLESTR *lplpszUserType)
HRESULT OLECONVERT_CreateCompObjStream (LPSTORAGE pStorage, LPCSTR strOleTypeName)
static void OLECONVERT_CreateOlePresStream (LPSTORAGE pStorage, DWORD dwExtentX, DWORD dwExtentY, BYTE *pData, DWORD dwDataLength)
static void OLECONVERT_CreateOle10NativeStream (LPSTORAGE pStorage, const BYTE *pData, DWORD dwDataLength)
static HRESULT OLECONVERT_GetOLE10ProgID (LPSTORAGE pStorage, char *strProgID, DWORD *dwSize)
static void OLECONVERT_GetOle10PresData (LPSTORAGE pStorage, OLECONVERT_OLESTREAM_DATA *pOleStreamData)
static void OLECONVERT_GetOle20PresData (LPSTORAGE pStorage, OLECONVERT_OLESTREAM_DATA *pOleStreamData)
HRESULT WINAPI OleConvertOLESTREAMToIStorage (LPOLESTREAM pOleStream, LPSTORAGE pstg, const DVTARGETDEVICE *ptd)
HRESULT WINAPI OleConvertIStorageToOLESTREAM (LPSTORAGE pstg, LPOLESTREAM pOleStream)
HRESULT WINAPI GetConvertStg (IStorage *stg)
HRESULT WINAPI StgIsStorageFile (LPCOLESTR fn)
HRESULT WINAPI WriteClassStm (IStream *pStm, REFCLSID rclsid)
HRESULT WINAPI ReadClassStm (IStream *pStm, CLSID *pclsid)

Variables

static const BYTE STORAGE_magic [8] = {0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1}
static const BYTE STORAGE_oldmagic [8] = {0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d}
static const char rootEntryName [] = "Root Entry"
static const IStorageVtbl TransactedSnapshotImpl_Vtbl
static const IStorageVtbl Storage32InternalImpl_Vtbl
const IPropertySetStorageVtbl IPropertySetStorage_Vtbl
static const IStorageVtbl Storage32Impl_Vtbl
static const StorageBaseImplVtbl StorageImpl_BaseVtbl
static const StorageBaseImplVtbl TransactedSnapshotImpl_BaseVtbl
static const IEnumSTATSTGVtbl IEnumSTATSTGImpl_Vtbl
static const StorageBaseImplVtbl StorageInternalImpl_BaseVtbl

Generated on Sat May 26 2012 05:14:55 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.