185 return IRunnableObject_IsRunning(&
This->IRunnableObject_iface);
247 else if (
This->inproc_server &&
This->pOleDelegate)
334 return IUnknown_AddRef(
This->outerUnknown);
347 return IUnknown_Release(
This->outerUnknown);
365 TRACE(
"(%p, %p)\n", iface, pClientSite);
370 hr = IOleObject_SetClientSite(
This->pOleDelegate, pClientSite);
378 if (
This->clientSite)
379 IOleClientSite_Release(
This->clientSite);
381 This->clientSite = pClientSite;
383 if (
This->clientSite)
384 IOleClientSite_AddRef(
This->clientSite);
406 *ppClientSite =
This->clientSite;
408 if (
This->clientSite)
409 IOleClientSite_AddRef(
This->clientSite);
424 LPCOLESTR szContainerApp,
425 LPCOLESTR szContainerObj)
429 TRACE(
"(%p, %s, %s)\n",
437 IOleObject_SetHostNames(
This->pOleDelegate, szContainerApp, szContainerObj);
465 if (
This->pDataDelegate)
467 IDataObject_Release(
This->pDataDelegate);
470 if (
This->pPSDelegate)
472 IPersistStorage_Release(
This->pPSDelegate);
475 if (
This->pOleDelegate)
477 IOleObject_Release(
This->pOleDelegate);
494 hr = IOleCacheControl_OnStop( cache_ctrl );
495 IOleCacheControl_Release( cache_ctrl );
498 IOleObject_Unadvise(
This->pOleDelegate,
This->dwAdvConn);
500 if (
This->dataAdviseHolder)
522 TRACE(
"(%d)\n", dwSaveOption);
528 hr = IOleObject_Close(
This->pOleDelegate, dwSaveOption);
545 DWORD dwWhichMoniker,
551 TRACE(
"(%p, %d, %p)\n", iface, dwWhichMoniker, pmk);
556 hr = IOleObject_SetMoniker(
This->pOleDelegate, dwWhichMoniker, pmk);
573 DWORD dwWhichMoniker,
579 TRACE(
"(%p, %d, %d, %p)\n",
580 iface, dwAssign, dwWhichMoniker, ppmk);
585 hr = IOleObject_GetMoniker(
This->pOleDelegate, dwAssign, dwWhichMoniker,
592 if (
This->clientSite)
594 return IOleClientSite_GetMoniker(
This->clientSite,
620 TRACE(
"(%p, %p, %d, %d)\n",
626 hr = IOleObject_InitFromData(
This->pOleDelegate, pDataObject, fCreation,
649 TRACE(
"(%p, %d, %p)\n",
676 TRACE(
"(%d, %p, %p, %d, %p, %s)\n", iVerb, lpmsg, pActiveSite, lindex,
hwndParent,
wine_dbgstr_rect(lprcPosRect));
678 hr = IRunnableObject_Run(pRunnableObj,
NULL);
682 hr = IOleObject_DoVerb(
This->pOleDelegate, iVerb, lpmsg, pActiveSite,
704 TRACE(
"(%p, %p)\n", iface, ppEnumOleVerb);
709 hr = IOleObject_EnumVerbs(
This->pOleDelegate, ppEnumOleVerb);
725 TRACE(
"(%p)\n", iface);
729 FIXME(
"Should run object\n");
734 hr = IOleObject_Update(
This->pOleDelegate);
752 TRACE(
"(%p)\n", iface);
757 hr = IOleObject_IsUpToDate(
This->pOleDelegate);
778 TRACE(
"(%p, %p)\n", iface, pClsid);
783 hr = IOleObject_GetUserClassID(
This->pOleDelegate, pClsid);
791 *pClsid =
This->clsid;
812 TRACE(
"(%p, %d, %p)\n", iface, dwFormOfType, pszUserType);
816 hr = IOleObject_GetUserType(
This->pOleDelegate, dwFormOfType, pszUserType);
839 TRACE(
"(%p, %x, (%d x %d))\n", iface,
840 dwDrawAspect, psizel->
cx, psizel->
cy);
845 hr = IOleObject_SetExtent(
This->pOleDelegate, dwDrawAspect, psizel);
865 DVTARGETDEVICE* targetDevice;
871 TRACE(
"(%p, %x, %p)\n", iface, dwDrawAspect, psizel);
876 hres = IOleObject_GetExtent(
This->pOleDelegate, dwDrawAspect, psizel);
895 hres = IViewObject2_GetExtent(cacheView,
901 IViewObject2_Release(cacheView);
917 DWORD* pdwConnection)
922 TRACE(
"(%p, %p, %p)\n", iface, pAdvSink, pdwConnection);
925 if (!
This->oleAdviseHolder)
929 hres = IOleAdviseHolder_Advise(
This->oleAdviseHolder,
950 TRACE(
"(%p, %d)\n", iface, dwConnection);
956 if (!
This->oleAdviseHolder)
959 return IOleAdviseHolder_Unadvise(
This->oleAdviseHolder,
977 TRACE(
"(%p, %p)\n", iface, ppenumAdvise);
982 *ppenumAdvise =
NULL;
984 if (!
This->oleAdviseHolder)
987 return IOleAdviseHolder_EnumAdvise(
This->oleAdviseHolder, ppenumAdvise);
1006 TRACE(
"(%p, %x, %p)\n", iface, dwAspect, pdwStatus);
1011 hres = IOleObject_GetMiscStatus(
This->pOleDelegate, dwAspect, pdwStatus);
1038 TRACE(
"(%p, %p))\n", iface, pLogpal);
1043 hr = IOleObject_SetColorScheme(
This->pOleDelegate, pLogpal);
1080 return IUnknown_AddRef(
This->outerUnknown);
1093 return IUnknown_Release(
This->outerUnknown);
1105 LPFORMATETC pformatetcIn,
1113 TRACE(
"(%p, %p, %p)\n", iface, pformatetcIn, pmedium);
1115 hres = IUnknown_QueryInterface(
This->dataCache,
1117 (
void**)&cacheDataObject);
1122 hres = IDataObject_GetData(cacheDataObject,
1126 IDataObject_Release(cacheDataObject);
1133 hres = IDataObject_GetData(
This->pDataDelegate, pformatetcIn, pmedium);
1147 LPFORMATETC pformatetc,
1164 LPFORMATETC pformatetc)
1171 TRACE(
"(%p, %p)\n", iface, pformatetc);
1173 hres = IUnknown_QueryInterface(
This->dataCache,
1175 (
void**)&cacheDataObject);
1180 hres = IDataObject_QueryGetData(cacheDataObject,
1183 IDataObject_Release(cacheDataObject);
1190 hres = IDataObject_QueryGetData(
This->pDataDelegate, pformatetc);
1211 LPFORMATETC pformatetcIn,
1212 LPFORMATETC pformatetcOut)
1217 TRACE(
"(%p, %p, %p)\n", iface, pformatetcIn, pformatetcOut);
1223 hr = IDataObject_GetCanonicalFormatEtc(
This->pDataDelegate, pformatetcIn, pformatetcOut);
1239 LPFORMATETC pformatetc,
1247 TRACE(
"(%p, %p, %p, %d)\n", iface, pformatetc, pmedium, fRelease);
1249 hres = IUnknown_QueryInterface(
This->dataCache,
1251 (
void**)&cacheDataObject);
1256 hres = IDataObject_SetData(cacheDataObject,
1261 IDataObject_Release(cacheDataObject);
1281 TRACE(
"(%p, %x, %p)\n", iface, dwDirection, ppenumFormatEtc);
1296 FORMATETC* pformatetc,
1299 DWORD* pdwConnection)
1304 TRACE(
"(%p, %p, %d, %p, %p)\n",
1305 iface, pformatetc, advf, pAdvSink, pdwConnection);
1308 if (!
This->dataAdviseHolder)
1320 hres = IDataAdviseHolder_Advise(
This->dataAdviseHolder,
1344 TRACE(
"(%p, %d)\n", iface, dwConnection);
1350 if (!
This->dataAdviseHolder)
1353 return IDataAdviseHolder_Unadvise(
This->dataAdviseHolder,
1371 TRACE(
"(%p, %p)\n", iface, ppenumAdvise);
1376 *ppenumAdvise =
NULL;
1379 if (
This->dataAdviseHolder)
1380 return IDataAdviseHolder_EnumAdvise(
This->dataAdviseHolder,
1416 return IUnknown_AddRef(
This->outerUnknown);
1429 return IUnknown_Release(
This->outerUnknown);
1453 FIXME(
"(%p): semi-stub\n", pbc);
1466 hr = IOleObject_Advise(
This->pOleDelegate, &
This->IAdviseSink_iface, &
This->dwAdvConn);
1469 if (
This->clientSite)
1471 hr = IOleObject_SetClientSite(
This->pOleDelegate,
This->clientSite);
1476 (
void **)&
This->pPSDelegate);
1480 hr = IPersistStorage_InitNew(
This->pPSDelegate,
This->storage);
1482 hr = IPersistStorage_Load(
This->pPSDelegate,
This->storage);
1485 if (
This->containerApp)
1487 hr = IOleObject_SetHostNames(
This->pOleDelegate,
This->containerApp,
1488 This->containerObj);
1498 (
void **)&
This->pDataDelegate);
1503 if (
This->dataAdviseHolder)
1511 hr = IOleCacheControl_OnRun( cache_ctrl,
This->pDataDelegate );
1512 IOleCacheControl_Release( cache_ctrl );
1548 BOOL fLastUnlockCloses)
1576 IAdviseSink_AddRef(iface);
1588 return IUnknown_AddRef(&
This->IUnknown_iface);
1596 return IUnknown_Release(&
This->IUnknown_iface);
1601 FORMATETC *pFormatetc,
1621 TRACE(
"(%p)\n", pmk);
1623 if (
This->oleAdviseHolder)
1624 IOleAdviseHolder_SendOnRename(
This->oleAdviseHolder, pmk);
1634 if (
This->oleAdviseHolder)
1635 IOleAdviseHolder_SendOnSave(
This->oleAdviseHolder);
1645 if (
This->oleAdviseHolder)
1646 IOleAdviseHolder_SendOnClose(
This->oleAdviseHolder);
1652 TRACE(
"OnClose during call. Deferring shutdown\n");
1680 return IUnknown_AddRef(
This->outerUnknown);
1692 return IUnknown_Release(
This->outerUnknown);
1711 hr = IPersistStorage_GetClassID(
This->pPSDelegate,
clsid);
1715 hr = IPersistStorage_GetClassID(
This->dataCache_PersistStg,
clsid);
1730 TRACE(
"(%p)\n", iface);
1732 hr = IPersistStorage_IsDirty(
This->dataCache_PersistStg);
1738 hr = IPersistStorage_IsDirty(
This->pPSDelegate);
1790 FIXME(
"Linked objects are not supported yet\n");
1795 WARN(
"Incorrect OleStream header\n");
1817 TRACE(
"(%p)->(%p)\n", iface, pStg);
1821 hr = IPersistStorage_InitNew(
This->dataCache_PersistStg, pStg);
1826 hr = IPersistStorage_InitNew(
This->pPSDelegate, pStg);
1832 IStorage_AddRef(pStg);
1833 This->storage = pStg;
1852 TRACE(
"(%p)->(%p)\n", iface, pStg);
1857 hr = IPersistStorage_Load(
This->dataCache_PersistStg, pStg);
1862 hr = IPersistStorage_Load(
This->pPSDelegate, pStg);
1868 IStorage_AddRef(pStg);
1869 This->storage = pStg;
1888 TRACE(
"(%p)->(%p, %d)\n", iface, pStgSave, fSameAsLoad);
1890 hr = IPersistStorage_Save(
This->dataCache_PersistStg, pStgSave, fSameAsLoad);
1894 hr = IPersistStorage_Save(
This->pPSDelegate, pStgSave, fSameAsLoad);
1913 TRACE(
"(%p)->(%p)\n", iface, pStgNew);
1915 hr = IPersistStorage_SaveCompleted(
This->dataCache_PersistStg, pStgNew);
1920 hr = IPersistStorage_SaveCompleted(
This->pPSDelegate, pStgNew);
1926 IStorage_AddRef(pStgNew);
1927 if(
This->storage) IStorage_Release(
This->storage);
1928 This->storage = pStgNew;
1946 TRACE(
"(%p)\n", iface);
1948 hr = IPersistStorage_HandsOffStorage(
This->dataCache_PersistStg);
1953 hr = IPersistStorage_HandsOffStorage(
This->pPSDelegate);
1957 if(
This->storage) IStorage_Release(
This->storage);
2096 pUnkOuter = &
This->IUnknown_iface;
2098 This->outerUnknown = pUnkOuter;
2108 (
void**)&
This->dataCache);
2115 IUnknown_Release(
This->outerUnknown);
2117 IUnknown_Release(
This->dataCache);
2121 ERR(
"Unexpected error creating data cache\n");
2138 This->dwAdvConn = 0;
2158 WARN(
"object creation failed with error %08x\n",
hr);
2162 This->pCFObject = pCF;
2163 if (pCF) IClassFactory_AddRef(pCF);
2187 if (
This->dataCache)
2191 IUnknown_AddRef(
This->outerUnknown);
2192 IPersistStorage_Release(
This->dataCache_PersistStg);
2193 IUnknown_Release(
This->dataCache);
2198 if (
This->clientSite)
2200 IOleClientSite_Release(
This->clientSite);
2204 if (
This->oleAdviseHolder)
2206 IOleAdviseHolder_Release(
This->oleAdviseHolder);
2210 if (
This->dataAdviseHolder)
2212 IDataAdviseHolder_Release(
This->dataAdviseHolder);
2218 IStorage_Release(
This->storage);
2222 if (
This->pCFObject)
2224 IClassFactory_Release(
This->pCFObject);
2245 TRACE(
"(%s, %p, %08x, %p, %s, %p)\n",
debugstr_guid(
clsid), pUnkOuter,
flags, pCF,
debugstr_guid(
riid), ppvObj);
2315 IClassFactory_AddRef(iface);
2346 FIXME(
"(%d), stub!\n",fLock);
2365 This->clsid = *rclsid;
2367 hr = IClassFactory_QueryInterface(&
This->IClassFactory_iface,
riid,
ppv);
#define InterlockedIncrement
#define InterlockedDecrement
static const char * wine_dbgstr_rect(const RECT *prc)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
const GUID IID_IClassFactory
void DataAdviseHolder_OnDisconnect(IDataAdviseHolder *iface) DECLSPEC_HIDDEN
HRESULT DataAdviseHolder_OnConnect(IDataAdviseHolder *iface, IDataObject *pDelegate) DECLSPEC_HIDDEN
HRESULT WINAPI CreateDataCache(LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID riid, LPVOID *ppvObj)
#define HeapFree(x, y, z)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
static HRESULT WINAPI DefaultHandler_GetDataHere(IDataObject *iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium)
static HRESULT WINAPI DefaultHandler_SetData(IDataObject *iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium, BOOL fRelease)
static HRESULT WINAPI DefaultHandler_IDataObject_QueryInterface(IDataObject *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI DefaultHandler_Unadvise(IOleObject *iface, DWORD dwConnection)
static HRESULT WINAPI DefaultHandler_EnumVerbs(IOleObject *iface, IEnumOLEVERB **ppEnumOleVerb)
static HRESULT WINAPI DefaultHandler_SetClientSite(IOleObject *iface, IOleClientSite *pClientSite)
static HRESULT WINAPI DefaultHandler_IPersistStorage_InitNew(IPersistStorage *iface, IStorage *pStg)
static void DefaultHandler_Stop(DefaultHandler *This)
static void WINAPI DefaultHandler_IAdviseSink_OnViewChange(IAdviseSink *iface, DWORD dwAspect, LONG lindex)
static HRESULT WINAPI HandlerCF_LockServer(LPCLASSFACTORY iface, BOOL fLock)
static HRESULT WINAPI DefaultHandler_IPersistStorage_Load(IPersistStorage *iface, IStorage *pStg)
HRESULT WINAPI OleCreateEmbeddingHelper(REFCLSID clsid, LPUNKNOWN pUnkOuter, DWORD flags, IClassFactory *pCF, REFIID riid, LPVOID *ppvObj)
static DefaultHandler * impl_from_IRunnableObject(IRunnableObject *iface)
static DefaultHandler * impl_from_IOleObject(IOleObject *iface)
static ULONG WINAPI DefaultHandler_IDataObject_Release(IDataObject *iface)
static ULONG WINAPI DefaultHandler_Release(IOleObject *iface)
static HRESULT WINAPI HandlerCF_QueryInterface(LPCLASSFACTORY iface, REFIID riid, LPVOID *ppv)
static HandlerCF * impl_from_IClassFactory(IClassFactory *iface)
static HRESULT WINAPI HandlerCF_CreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pUnk, REFIID riid, LPVOID *ppv)
static DefaultHandler * impl_from_IUnknown(IUnknown *iface)
static ULONG WINAPI DefaultHandler_IRunnableObject_Release(IRunnableObject *iface)
static HRESULT WINAPI DefaultHandler_EnumDAdvise(IDataObject *iface, IEnumSTATDATA **ppenumAdvise)
static const WCHAR OleStream[]
HRESULT WINAPI OleCreateDefaultHandler(REFCLSID clsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj)
static BOOL object_is_running(DefaultHandler *This)
static DefaultHandler * impl_from_IDataObject(IDataObject *iface)
static HRESULT WINAPI DefaultHandler_InitFromData(IOleObject *iface, IDataObject *pDataObject, BOOL fCreation, DWORD dwReserved)
HRESULT HandlerCF_Create(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
static ULONG WINAPI DefaultHandler_AddRef(IOleObject *iface)
static const DWORD ole_stream_version
static DefaultHandler * impl_from_IAdviseSink(IAdviseSink *iface)
static HRESULT WINAPI DefaultHandler_Close(IOleObject *iface, DWORD dwSaveOption)
static ULONG WINAPI DefaultHandler_IAdviseSink_AddRef(IAdviseSink *iface)
static HRESULT WINAPI DefaultHandler_SetColorScheme(IOleObject *iface, struct tagLOGPALETTE *pLogpal)
static HRESULT WINAPI DefaultHandler_Update(IOleObject *iface)
static const IAdviseSinkVtbl DefaultHandler_IAdviseSink_VTable
static void start_object_call(DefaultHandler *This)
static void DefaultHandler_Destroy(DefaultHandler *This)
static ULONG WINAPI DefaultHandler_IAdviseSink_Release(IAdviseSink *iface)
static const IClassFactoryVtbl HandlerClassFactoryVtbl
static HRESULT WINAPI DefaultHandler_QueryGetData(IDataObject *iface, LPFORMATETC pformatetc)
static HRESULT WINAPI DefaultHandler_GetData(IDataObject *iface, LPFORMATETC pformatetcIn, STGMEDIUM *pmedium)
static const IRunnableObjectVtbl DefaultHandler_IRunnableObject_VTable
static HRESULT WINAPI DefaultHandler_GetCanonicalFormatEtc(IDataObject *iface, LPFORMATETC pformatetcIn, LPFORMATETC pformatetcOut)
static HRESULT WINAPI DefaultHandler_IAdviseSink_QueryInterface(IAdviseSink *iface, REFIID riid, void **ppvObject)
static const IOleObjectVtbl DefaultHandler_IOleObject_VTable
static BOOL WINAPI DefaultHandler_IsRunning(IRunnableObject *iface)
static HRESULT WINAPI DefaultHandler_GetClipboardData(IOleObject *iface, DWORD dwReserved, IDataObject **ppDataObject)
static HRESULT WINAPI DefaultHandler_SetMoniker(IOleObject *iface, DWORD dwWhichMoniker, IMoniker *pmk)
static HRESULT WINAPI DefaultHandler_DAdvise(IDataObject *iface, FORMATETC *pformatetc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection)
static ULONG WINAPI HandlerCF_Release(LPCLASSFACTORY iface)
static HRESULT WINAPI DefaultHandler_IPersistStorage_Save(IPersistStorage *iface, IStorage *pStgSave, BOOL fSameAsLoad)
static HRESULT WINAPI DefaultHandler_QueryInterface(IOleObject *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI DefaultHandler_IsUpToDate(IOleObject *iface)
static HRESULT WINAPI DefaultHandler_IPersistStorage_IsDirty(IPersistStorage *iface)
static void WINAPI DefaultHandler_IAdviseSink_OnSave(IAdviseSink *iface)
static void WINAPI DefaultHandler_IAdviseSink_OnRename(IAdviseSink *iface, IMoniker *pmk)
static HRESULT WINAPI DefaultHandler_IRunnableObject_QueryInterface(IRunnableObject *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI DefaultHandler_NDIUnknown_Release(IUnknown *iface)
static HRESULT load_ole_stream(DefaultHandler *This, IStorage *storage)
static HRESULT WINAPI DefaultHandler_IPersistStorage_QueryInterface(IPersistStorage *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI DefaultHandler_DUnadvise(IDataObject *iface, DWORD dwConnection)
static HRESULT WINAPI DefaultHandler_GetMoniker(IOleObject *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
static HRESULT WINAPI DefaultHandler_GetRunningClass(IRunnableObject *iface, LPCLSID lpClsid)
static HRESULT WINAPI DefaultHandler_GetMiscStatus(IOleObject *iface, DWORD dwAspect, DWORD *pdwStatus)
static HRESULT WINAPI DefaultHandler_Run(IRunnableObject *iface, IBindCtx *pbc)
@ object_state_not_running
@ object_state_deferred_close
static HRESULT WINAPI DefaultHandler_GetUserType(IOleObject *iface, DWORD dwFormOfType, LPOLESTR *pszUserType)
static HRESULT WINAPI DefaultHandler_EnumAdvise(IOleObject *iface, IEnumSTATDATA **ppenumAdvise)
static HRESULT WINAPI DefaultHandler_IPersistStorage_GetClassID(IPersistStorage *iface, CLSID *clsid)
static HRESULT WINAPI DefaultHandler_IPersistStorage_HandsOffStorage(IPersistStorage *iface)
static void WINAPI DefaultHandler_IAdviseSink_OnClose(IAdviseSink *iface)
static HRESULT WINAPI DefaultHandler_GetClientSite(IOleObject *iface, IOleClientSite **ppClientSite)
static HRESULT WINAPI DefaultHandler_NDIUnknown_QueryInterface(IUnknown *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI DefaultHandler_Advise(IOleObject *iface, IAdviseSink *pAdvSink, DWORD *pdwConnection)
static HRESULT WINAPI DefaultHandler_SetExtent(IOleObject *iface, DWORD dwDrawAspect, SIZEL *psizel)
static ULONG WINAPI DefaultHandler_IPersistStorage_AddRef(IPersistStorage *iface)
static ULONG WINAPI HandlerCF_AddRef(LPCLASSFACTORY iface)
static DefaultHandler * impl_from_IPersistStorage(IPersistStorage *iface)
static HRESULT WINAPI DefaultHandler_DoVerb(IOleObject *iface, LONG iVerb, struct tagMSG *lpmsg, IOleClientSite *pActiveSite, LONG lindex, HWND hwndParent, LPCRECT lprcPosRect)
static HRESULT WINAPI DefaultHandler_IPersistStorage_SaveCompleted(IPersistStorage *iface, IStorage *pStgNew)
@ storage_state_uninitialised
@ storage_state_initialised
static ULONG WINAPI DefaultHandler_IPersistStorage_Release(IPersistStorage *iface)
static HRESULT WINAPI DefaultHandler_EnumFormatEtc(IDataObject *iface, DWORD dwDirection, IEnumFORMATETC **ppenumFormatEtc)
static ULONG WINAPI DefaultHandler_IRunnableObject_AddRef(IRunnableObject *iface)
static HRESULT WINAPI DefaultHandler_SetContainedObject(IRunnableObject *iface, BOOL fContained)
static HRESULT WINAPI DefaultHandler_SetHostNames(IOleObject *iface, LPCOLESTR szContainerApp, LPCOLESTR szContainerObj)
static ULONG WINAPI DefaultHandler_NDIUnknown_AddRef(IUnknown *iface)
static void end_object_call(DefaultHandler *This)
static void release_delegates(DefaultHandler *This)
static HRESULT WINAPI DefaultHandler_GetUserClassID(IOleObject *iface, CLSID *pClsid)
static void WINAPI DefaultHandler_IAdviseSink_OnDataChange(IAdviseSink *iface, FORMATETC *pFormatetc, STGMEDIUM *pStgmed)
static ULONG WINAPI DefaultHandler_IDataObject_AddRef(IDataObject *iface)
static const IPersistStorageVtbl DefaultHandler_IPersistStorage_VTable
static HRESULT WINAPI DefaultHandler_GetExtent(IOleObject *iface, DWORD dwDrawAspect, SIZEL *psizel)
static HRESULT WINAPI DefaultHandler_LockRunning(IRunnableObject *iface, BOOL fLock, BOOL fLastUnlockCloses)
static DefaultHandler * DefaultHandler_Construct(REFCLSID clsid, LPUNKNOWN pUnkOuter, DWORD flags, IClassFactory *pCF)
static const IUnknownVtbl DefaultHandler_NDIUnknown_VTable
static const IDataObjectVtbl DefaultHandler_IDataObject_VTable
HRESULT WINAPI OleRegGetUserType(REFCLSID clsid, DWORD form, LPOLESTR *usertype)
HRESULT WINAPI OleRegGetMiscStatus(REFCLSID clsid, DWORD dwAspect, DWORD *pdwStatus)
HRESULT WINAPI OleRegEnumVerbs(REFCLSID clsid, LPENUMOLEVERB *ppenum)
HRESULT STORAGE_CreateOleStream(IStorage *storage, DWORD flags)
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
#define STGM_SHARE_EXCLUSIVE
#define EMBDHLP_INPROC_HANDLER
#define EMBDHLP_INPROC_SERVER
#define EMBDHLP_CREATENOW
#define EMBDHLP_DELAYCREATE
HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc(REFCLSID clsid, DWORD dwDirection, LPENUMFORMATETC *ppenumFormatetc)
HRESULT WINAPI CreateDataAdviseHolder(IDataAdviseHolder **ppDAHolder)
HRESULT WINAPI CreateOleAdviseHolder(IOleAdviseHolder **ppOAHolder)
const GUID IID_IViewObject
const GUID IID_IAdviseSink
const GUID IID_IViewObject2
const GUID IID_IRunnableObject
const GUID IID_IOleCache2
const GUID IID_IOleCacheControl
const GUID IID_IDataObject
const GUID IID_IPersistStorage
const GUID IID_IOleObject
#define IsEqualIID(riid1, riid2)
IAdviseSink IAdviseSink_iface
enum storage_state storage_state
enum object_state object_state
IPersistStorage * pPSDelegate
IOleClientSite * clientSite
IDataObject IDataObject_iface
IDataAdviseHolder * dataAdviseHolder
IRunnableObject IRunnableObject_iface
IOleAdviseHolder * oleAdviseHolder
IDataObject * pDataDelegate
IOleObject IOleObject_iface
IOleObject * pOleDelegate
IPersistStorage * dataCache_PersistStg
IClassFactory * pCFObject
IPersistStorage IPersistStorage_iface
IClassFactory IClassFactory_iface
#define CONTAINING_RECORD(address, type, field)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define OLE_E_NOCONNECTION
#define CLASS_E_NOAGGREGATION