38 *
ppv = &
This->IOleUndoManager_iface;
41 *
ppv = &
This->IOleUndoManager_iface;
86 FIXME(
"(%p)->(%p %x)\n",
This, pPUU, fCommit);
189 return &
ret->IOleUndoManager_iface;
209 *
ppv = &
This->IHTMLEditServices_iface;
211 *
ppv = &
This->IHTMLEditServices_iface;
245 IHTMLEditDesigner *pIDesigner)
253 IHTMLEditDesigner *pIDesigner)
261 IMarkupContainer *pIContainer, ISelectionServices **ppSelSvc)
264 FIXME(
"(%p)->(%p,%p)\n",
This, pIContainer, ppSelSvc);
269 IMarkupPointer *pIStartAnchor)
272 FIXME(
"(%p)->(%p)\n",
This, pIStartAnchor);
277 IMarkupPointer *pIEndAnchor)
280 FIXME(
"(%p)->(%p)\n",
This, pIEndAnchor);
285 IMarkupPointer *pStart, IMarkupPointer *pEnd,
SELECTION_TYPE eType)
288 FIXME(
"(%p)->(%p,%p,%#x)\n",
This, pStart, pEnd, eType);
311 return &
ret->IHTMLEditServices_iface;
354 if(
IsEqualGUID(&SID_SOleUndoManager, guidService)) {
355 TRACE(
"SID_SOleUndoManager\n");
357 if(!
This->doc_obj->undomgr)
360 if (!
This->doc_obj->undomgr)
363 return IOleUndoManager_QueryInterface(
This->doc_obj->undomgr,
riid,
ppv);
366 if(
IsEqualGUID(&SID_SContainerDispatch, guidService)) {
367 TRACE(
"SID_SContainerDispatch\n");
368 return IHTMLDocument2_QueryInterface(&
This->IHTMLDocument2_iface,
riid,
ppv);
371 if(
IsEqualGUID(&IID_IWindowForBindingUI, guidService)) {
372 TRACE(
"IID_IWindowForBindingUI\n");
373 return IWindowForBindingUI_QueryInterface(&
This->doc_obj->IWindowForBindingUI_iface,
riid,
ppv);
376 if(
IsEqualGUID(&SID_SHTMLEditServices, guidService)) {
377 TRACE(
"SID_SHTMLEditServices\n");
379 if(!
This->doc_obj->editsvcs)
382 if (!
This->doc_obj->editsvcs)
385 return IHTMLEditServices_QueryInterface(
This->doc_obj->editsvcs,
riid,
ppv);
390 if(
This->doc_obj->client) {
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
HRESULT do_query_service(IUnknown *unk, REFGUID guid_service, REFIID riid, void **ppv)
const char * debugstr_mshtml_guid(const GUID *iid)
static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
static ULONG WINAPI editsvcs_Release(IHTMLEditServices *iface)
static IOleUndoManager * create_undomgr(void)
static ULONG WINAPI OleUndoManager_AddRef(IOleUndoManager *iface)
static ULONG WINAPI ServiceProvider_Release(IServiceProvider *iface)
void HTMLDocument_Service_Init(HTMLDocument *This)
static editsvcs * impl_from_IHTMLEditServices(IHTMLEditServices *iface)
static HRESULT WINAPI OleUndoManager_Add(IOleUndoManager *iface, IOleUndoUnit *pUU)
static ULONG WINAPI editsvcs_AddRef(IHTMLEditServices *iface)
static HRESULT WINAPI OleUndoManager_RedoTo(IOleUndoManager *iface, IOleUndoUnit *pUU)
static HRESULT WINAPI editsvcs_RemoveDesigner(IHTMLEditServices *iface, IHTMLEditDesigner *pIDesigner)
static const IOleUndoManagerVtbl OleUndoManagerVtbl
static HRESULT WINAPI OleUndoManager_GetOpenParentState(IOleUndoManager *iface, DWORD *pdwState)
static HRESULT WINAPI OleUndoManager_DiscardFrom(IOleUndoManager *iface, IOleUndoUnit *pUU)
static HRESULT WINAPI OleUndoManager_Open(IOleUndoManager *iface, IOleParentUndoUnit *pPUU)
static HRESULT WINAPI OleUndoManager_UndoTo(IOleUndoManager *iface, IOleUndoUnit *pUU)
static HRESULT WINAPI OleUndoManager_EnumRedoable(IOleUndoManager *iface, IEnumOleUndoUnits **ppEnum)
static HRESULT WINAPI OleUndoManager_QueryInterface(IOleUndoManager *iface, REFIID riid, void **ppv)
static HRESULT WINAPI editsvcs_GetSelectionServices(IHTMLEditServices *iface, IMarkupContainer *pIContainer, ISelectionServices **ppSelSvc)
static HTMLDocument * impl_from_IServiceProvider(IServiceProvider *iface)
static HRESULT WINAPI OleUndoManager_Close(IOleUndoManager *iface, IOleParentUndoUnit *pPUU, BOOL fCommit)
static HRESULT WINAPI editsvcs_SelectRange(IHTMLEditServices *iface, IMarkupPointer *pStart, IMarkupPointer *pEnd, SELECTION_TYPE eType)
static UndoManager * impl_from_IOleUndoManager(IOleUndoManager *iface)
static HRESULT WINAPI editsvcs_MoveToSelectionEnd(IHTMLEditServices *iface, IMarkupPointer *pIEndAnchor)
static HRESULT WINAPI editsvcs_QueryInterface(IHTMLEditServices *iface, REFIID riid, void **ppv)
static IHTMLEditServices * create_editsvcs(void)
static HRESULT WINAPI OleUndoManager_EnumUndoable(IOleUndoManager *iface, IEnumOleUndoUnits **ppEnum)
static HRESULT WINAPI ServiceProvider_QueryInterface(IServiceProvider *iface, REFIID riid, void **ppv)
static ULONG WINAPI ServiceProvider_AddRef(IServiceProvider *iface)
static const IServiceProviderVtbl ServiceProviderVtbl
static HRESULT WINAPI OleUndoManager_Enable(IOleUndoManager *iface, BOOL fEnable)
static HRESULT WINAPI OleUndoManager_GetLastUndoDescription(IOleUndoManager *iface, BSTR *pBstr)
static ULONG WINAPI OleUndoManager_Release(IOleUndoManager *iface)
static HRESULT WINAPI editsvcs_MoveToSelectionAnchor(IHTMLEditServices *iface, IMarkupPointer *pIStartAnchor)
static HRESULT WINAPI OleUndoManager_GetLastRedoDescription(IOleUndoManager *iface, BSTR *pBstr)
static HRESULT WINAPI editsvcs_AddDesigner(IHTMLEditServices *iface, IHTMLEditDesigner *pIDesigner)
static const IHTMLEditServicesVtbl editsvcsVtbl
enum _SELECTION_TYPE SELECTION_TYPE
static HRESULT htmldoc_query_interface(HTMLDocument *This, REFIID riid, void **ppv)
static ULONG htmldoc_addref(HTMLDocument *This)
static ULONG htmldoc_release(HTMLDocument *This)
#define IsEqualGUID(rguid1, rguid2)
IOleUndoManager IOleUndoManager_iface
IHTMLEditServices IHTMLEditServices_iface
#define CONTAINING_RECORD(address, type, field)