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

datacache.c File Reference
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winerror.h"
#include "wine/unicode.h"
#include "ole2.h"
#include "wine/list.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  PresentationDataHeader
struct  DataCacheEntry
struct  DataCache

Defines

#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ole)
static DataCacheimpl_from_IDataObject (IDataObject *iface)
static DataCacheimpl_from_IUnknown (IUnknown *iface)
static DataCacheimpl_from_IPersistStorage (IPersistStorage *iface)
static DataCacheimpl_from_IViewObject2 (IViewObject2 *iface)
static DataCacheimpl_from_IOleCache2 (IOleCache2 *iface)
static DataCacheimpl_from_IOleCacheControl (IOleCacheControl *iface)
static DataCacheimpl_from_IAdviseSink (IAdviseSink *iface)
static const chardebugstr_formatetc (const FORMATETC *formatetc)
static void DataCacheEntry_Destroy (DataCache *cache, DataCacheEntry *cache_entry)
static void DataCache_Destroy (DataCache *ptrToDestroy)
static DataCacheEntryDataCache_GetEntryForFormatEtc (DataCache *This, const FORMATETC *formatetc)
static HRESULT check_valid_clipformat_and_tymed (CLIPFORMAT cfFormat, DWORD tymed)
static HRESULT DataCache_CreateEntry (DataCache *This, const FORMATETC *formatetc, DataCacheEntry **cache_entry)
static void DataCache_FireOnViewChange (DataCache *this, DWORD aspect, LONG lindex)
static BOOL DataCache_IsPresentationStream (const STATSTG *elem)
static HRESULT read_clipformat (IStream *stream, CLIPFORMAT *clipformat)
static HRESULT write_clipformat (IStream *stream, CLIPFORMAT clipformat)
static HRESULT DataCacheEntry_OpenPresStream (DataCacheEntry *cache_entry, IStream **ppStm)
static HRESULT DataCacheEntry_LoadData (DataCacheEntry *cache_entry)
static HRESULT DataCacheEntry_CreateStream (DataCacheEntry *cache_entry, IStorage *storage, IStream **stream)
static HRESULT DataCacheEntry_Save (DataCacheEntry *cache_entry, IStorage *storage, BOOL same_as_load)
static HRESULT copy_stg_medium (CLIPFORMAT cf, STGMEDIUM *dest_stgm, const STGMEDIUM *src_stgm)
static HRESULT DataCacheEntry_SetData (DataCacheEntry *cache_entry, const FORMATETC *formatetc, const STGMEDIUM *stgmedium, BOOL fRelease)
static HRESULT DataCacheEntry_GetData (DataCacheEntry *cache_entry, STGMEDIUM *stgmedium)
static HRESULT DataCacheEntry_DiscardData (DataCacheEntry *cache_entry)
static void DataCacheEntry_HandsOffStorage (DataCacheEntry *cache_entry)
static HRESULT WINAPI DataCache_NDIUnknown_QueryInterface (IUnknown *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DataCache_NDIUnknown_AddRef (IUnknown *iface)
static ULONG WINAPI DataCache_NDIUnknown_Release (IUnknown *iface)
static HRESULT WINAPI DataCache_IDataObject_QueryInterface (IDataObject *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DataCache_IDataObject_AddRef (IDataObject *iface)
static ULONG WINAPI DataCache_IDataObject_Release (IDataObject *iface)
static HRESULT WINAPI DataCache_GetData (IDataObject *iface, LPFORMATETC pformatetcIn, STGMEDIUM *pmedium)
static HRESULT WINAPI DataCache_GetDataHere (IDataObject *iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium)
static HRESULT WINAPI DataCache_QueryGetData (IDataObject *iface, LPFORMATETC pformatetc)
static HRESULT WINAPI DataCache_GetCanonicalFormatEtc (IDataObject *iface, LPFORMATETC pformatectIn, LPFORMATETC pformatetcOut)
static HRESULT WINAPI DataCache_IDataObject_SetData (IDataObject *iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium, BOOL fRelease)
static HRESULT WINAPI DataCache_EnumFormatEtc (IDataObject *iface, DWORD dwDirection, IEnumFORMATETC **ppenumFormatEtc)
static HRESULT WINAPI DataCache_DAdvise (IDataObject *iface, FORMATETC *pformatetc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection)
static HRESULT WINAPI DataCache_DUnadvise (IDataObject *iface, DWORD dwConnection)
static HRESULT WINAPI DataCache_EnumDAdvise (IDataObject *iface, IEnumSTATDATA **ppenumAdvise)
static HRESULT WINAPI DataCache_IPersistStorage_QueryInterface (IPersistStorage *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DataCache_IPersistStorage_AddRef (IPersistStorage *iface)
static ULONG WINAPI DataCache_IPersistStorage_Release (IPersistStorage *iface)
static HRESULT WINAPI DataCache_GetClassID (IPersistStorage *iface, CLSID *pClassID)
static HRESULT WINAPI DataCache_IsDirty (IPersistStorage *iface)
static HRESULT WINAPI DataCache_InitNew (IPersistStorage *iface, IStorage *pStg)
static HRESULT WINAPI DataCache_Load (IPersistStorage *iface, IStorage *pStg)
static HRESULT WINAPI DataCache_Save (IPersistStorage *iface, IStorage *pStg, BOOL fSameAsLoad)
static HRESULT WINAPI DataCache_SaveCompleted (IPersistStorage *iface, IStorage *pStgNew)
static HRESULT WINAPI DataCache_HandsOffStorage (IPersistStorage *iface)
static HRESULT WINAPI DataCache_IViewObject2_QueryInterface (IViewObject2 *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DataCache_IViewObject2_AddRef (IViewObject2 *iface)
static ULONG WINAPI DataCache_IViewObject2_Release (IViewObject2 *iface)
static HRESULT WINAPI DataCache_Draw (IViewObject2 *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcTargetDev, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, BOOL(CALLBACK *pfnContinue)(ULONG_PTR dwContinue), ULONG_PTR dwContinue)
static HRESULT WINAPI DataCache_GetColorSet (IViewObject2 *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hicTargetDevice, LOGPALETTE **ppColorSet)
static HRESULT WINAPI DataCache_Freeze (IViewObject2 *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DWORD *pdwFreeze)
static HRESULT WINAPI DataCache_Unfreeze (IViewObject2 *iface, DWORD dwFreeze)
static HRESULT WINAPI DataCache_SetAdvise (IViewObject2 *iface, DWORD aspects, DWORD advf, IAdviseSink *pAdvSink)
static HRESULT WINAPI DataCache_GetAdvise (IViewObject2 *iface, DWORD *pAspects, DWORD *pAdvf, IAdviseSink **ppAdvSink)
static HRESULT WINAPI DataCache_GetExtent (IViewObject2 *iface, DWORD dwDrawAspect, LONG lindex, DVTARGETDEVICE *ptd, LPSIZEL lpsizel)
static HRESULT WINAPI DataCache_IOleCache2_QueryInterface (IOleCache2 *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DataCache_IOleCache2_AddRef (IOleCache2 *iface)
static ULONG WINAPI DataCache_IOleCache2_Release (IOleCache2 *iface)
static HRESULT setup_sink (DataCache *This, DataCacheEntry *cache_entry)
static HRESULT WINAPI DataCache_Cache (IOleCache2 *iface, FORMATETC *pformatetc, DWORD advf, DWORD *pdwConnection)
static HRESULT WINAPI DataCache_Uncache (IOleCache2 *iface, DWORD dwConnection)
static HRESULT WINAPI DataCache_EnumCache (IOleCache2 *iface, IEnumSTATDATA **ppenumSTATDATA)
static HRESULT WINAPI DataCache_InitCache (IOleCache2 *iface, IDataObject *pDataObject)
static HRESULT WINAPI DataCache_IOleCache2_SetData (IOleCache2 *iface, FORMATETC *pformatetc, STGMEDIUM *pmedium, BOOL fRelease)
static HRESULT WINAPI DataCache_UpdateCache (IOleCache2 *iface, LPDATAOBJECT pDataObject, DWORD grfUpdf, LPVOID pReserved)
static HRESULT WINAPI DataCache_DiscardCache (IOleCache2 *iface, DWORD dwDiscardOptions)
static HRESULT WINAPI DataCache_IOleCacheControl_QueryInterface (IOleCacheControl *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DataCache_IOleCacheControl_AddRef (IOleCacheControl *iface)
static ULONG WINAPI DataCache_IOleCacheControl_Release (IOleCacheControl *iface)
static HRESULT WINAPI DataCache_OnRun (IOleCacheControl *iface, IDataObject *data_obj)
static HRESULT WINAPI DataCache_OnStop (IOleCacheControl *iface)
static HRESULT WINAPI DataCache_IAdviseSink_QueryInterface (IAdviseSink *iface, REFIID iid, void **obj)
static ULONG WINAPI DataCache_IAdviseSink_AddRef (IAdviseSink *iface)
static ULONG WINAPI DataCache_IAdviseSink_Release (IAdviseSink *iface)
static void WINAPI DataCache_OnDataChange (IAdviseSink *iface, FORMATETC *fmt, STGMEDIUM *med)
static void WINAPI DataCache_OnViewChange (IAdviseSink *iface, DWORD aspect, LONG index)
static void WINAPI DataCache_OnRename (IAdviseSink *iface, IMoniker *mk)
static void WINAPI DataCache_OnSave (IAdviseSink *iface)
static void WINAPI DataCache_OnClose (IAdviseSink *iface)
static DataCacheDataCache_Construct (REFCLSID clsid, LPUNKNOWN pUnkOuter)
HRESULT WINAPI CreateDataCache (LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID riid, LPVOID *ppvObj)

Variables

static const IUnknownVtbl DataCache_NDIUnknown_VTable
static const IDataObjectVtbl DataCache_IDataObject_VTable
static const IPersistStorageVtbl DataCache_IPersistStorage_VTable
static const IViewObject2Vtbl DataCache_IViewObject2_VTable
static const IOleCache2Vtbl DataCache_IOleCache2_VTable
static const IOleCacheControlVtbl DataCache_IOleCacheControl_VTable
static const IAdviseSinkVtbl DataCache_IAdviseSink_VTable

Generated on Fri May 25 2012 05:13:49 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.