ReactOS 0.4.15-dev-8428-g6910fa6
client.c File Reference
#include <stdio.h>
#include "ieframe.h"
#include "mshtmdid.h"
#include "idispids.h"
#include "wine/debug.h"
Include dependency graph for client.c:

Go to the source code of this file.

Macros

#define CASE_DISPID(did)   case did: return #did
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ieframe)
 
static DocHostimpl_from_IOleClientSite (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_QueryInterface (IOleClientSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ClientSite_AddRef (IOleClientSite *iface)
 
static ULONG WINAPI ClientSite_Release (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_SaveObject (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_GetMoniker (IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
 
static HRESULT WINAPI ClientSite_GetContainer (IOleClientSite *iface, IOleContainer **ppContainer)
 
static HRESULT WINAPI ClientSite_ShowObject (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_OnShowWindow (IOleClientSite *iface, BOOL fShow)
 
static HRESULT WINAPI ClientSite_RequestNewObjectLayout (IOleClientSite *iface)
 
static DocHostimpl_from_IOleInPlaceSiteEx (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_QueryInterface (IOleInPlaceSiteEx *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI InPlaceSite_AddRef (IOleInPlaceSiteEx *iface)
 
static ULONG WINAPI InPlaceSite_Release (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_GetWindow (IOleInPlaceSiteEx *iface, HWND *phwnd)
 
static HRESULT WINAPI InPlaceSite_ContextSensitiveHelp (IOleInPlaceSiteEx *iface, BOOL fEnterMode)
 
static HRESULT WINAPI InPlaceSite_CanInPlaceActivate (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_OnInPlaceActivate (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_OnUIActivate (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_GetWindowContext (IOleInPlaceSiteEx *iface, IOleInPlaceFrame **ppFrame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
 
static HRESULT WINAPI InPlaceSite_Scroll (IOleInPlaceSiteEx *iface, SIZE scrollExtent)
 
static HRESULT WINAPI InPlaceSite_OnUIDeactivate (IOleInPlaceSiteEx *iface, BOOL fUndoable)
 
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivate (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_DiscardUndoState (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_DeactivateAndUndo (IOleInPlaceSiteEx *iface)
 
static HRESULT WINAPI InPlaceSite_OnPosRectChange (IOleInPlaceSiteEx *iface, LPCRECT lprcPosRect)
 
static HRESULT WINAPI InPlaceSite_OnInPlaceActivateEx (IOleInPlaceSiteEx *iface, BOOL *pfNoRedraw, DWORD dwFlags)
 
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivateEx (IOleInPlaceSiteEx *iface, BOOL fNoRedraw)
 
static HRESULT WINAPI InPlaceSite_RequestUIActivate (IOleInPlaceSiteEx *iface)
 
static DocHostimpl_from_IOleDocumentSite (IOleDocumentSite *iface)
 
static HRESULT WINAPI OleDocumentSite_QueryInterface (IOleDocumentSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleDocumentSite_AddRef (IOleDocumentSite *iface)
 
static ULONG WINAPI OleDocumentSite_Release (IOleDocumentSite *iface)
 
static HRESULT WINAPI OleDocumentSite_ActivateMe (IOleDocumentSite *iface, IOleDocumentView *pViewToActivate)
 
static DocHostimpl_from_IOleControlSite (IOleControlSite *iface)
 
static HRESULT WINAPI ControlSite_QueryInterface (IOleControlSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ControlSite_AddRef (IOleControlSite *iface)
 
static ULONG WINAPI ControlSite_Release (IOleControlSite *iface)
 
static HRESULT WINAPI ControlSite_OnControlInfoChanged (IOleControlSite *iface)
 
static HRESULT WINAPI ControlSite_LockInPlaceActive (IOleControlSite *iface, BOOL fLock)
 
static HRESULT WINAPI ControlSite_GetExtendedControl (IOleControlSite *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI ControlSite_TransformCoords (IOleControlSite *iface, POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags)
 
static HRESULT WINAPI ControlSite_TranslateAccelerator (IOleControlSite *iface, MSG *pMsg, DWORD grfModifiers)
 
static HRESULT WINAPI ControlSite_OnFocus (IOleControlSite *iface, BOOL fGotFocus)
 
static HRESULT WINAPI ControlSite_ShowPropertyFrame (IOleControlSite *iface)
 
static DocHostimpl_from_IDispatch (IDispatch *iface)
 
static HRESULT WINAPI ClDispatch_QueryInterface (IDispatch *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ClDispatch_AddRef (IDispatch *iface)
 
static ULONG WINAPI ClDispatch_Release (IDispatch *iface)
 
static HRESULT WINAPI ClDispatch_GetTypeInfoCount (IDispatch *iface, UINT *pctinfo)
 
static HRESULT WINAPI ClDispatch_GetTypeInfo (IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI ClDispatch_GetIDsOfNames (IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static const chardebugstr_dispid (DISPID dispid)
 
static HRESULT WINAPI ClDispatch_Invoke (IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static DocHostimpl_from_IServiceProvider (IServiceProvider *iface)
 
static HRESULT WINAPI ClServiceProvider_QueryInterface (IServiceProvider *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ClServiceProvider_AddRef (IServiceProvider *iface)
 
static ULONG WINAPI ClServiceProvider_Release (IServiceProvider *iface)
 
static HRESULT WINAPI ClServiceProvider_QueryService (IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
 
void DocHost_ClientSite_Init (DocHost *This)
 
void DocHost_ClientSite_Release (DocHost *This)
 

Variables

static const IOleClientSiteVtbl OleClientSiteVtbl
 
static const IOleInPlaceSiteExVtbl OleInPlaceSiteExVtbl
 
static const IOleDocumentSiteVtbl OleDocumentSiteVtbl
 
static IOleControlSiteVtbl OleControlSiteVtbl
 
static const IDispatchVtbl DispatchVtbl
 
static const IServiceProviderVtbl ServiceProviderVtbl
 

Macro Definition Documentation

◆ CASE_DISPID

#define CASE_DISPID (   did)    case did: return #did

Function Documentation

◆ ClDispatch_AddRef()

static ULONG WINAPI ClDispatch_AddRef ( IDispatch iface)
static

Definition at line 534 of file client.c.

535{
537 return IOleClientSite_AddRef(&This->IOleClientSite_iface);
538}
static DocHost * impl_from_IDispatch(IDispatch *iface)
Definition: client.c:523

◆ ClDispatch_GetIDsOfNames()

static HRESULT WINAPI ClDispatch_GetIDsOfNames ( IDispatch iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 565 of file client.c.

567{
569
570 TRACE("(%p)->(%s %p %u %d %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
571 lcid, rgDispId);
572
573 return E_NOTIMPL;
574}
#define E_NOTIMPL
Definition: ddrawi.h:99
REFIID riid
Definition: atlbase.h:39
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4

◆ ClDispatch_GetTypeInfo()

static HRESULT WINAPI ClDispatch_GetTypeInfo ( IDispatch iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 555 of file client.c.

557{
559
560 TRACE("(%p)->(%u %d %p)\n", This, iTInfo, lcid, ppTInfo);
561
562 return E_NOTIMPL;
563}

◆ ClDispatch_GetTypeInfoCount()

static HRESULT WINAPI ClDispatch_GetTypeInfoCount ( IDispatch iface,
UINT pctinfo 
)
static

Definition at line 546 of file client.c.

547{
549
550 TRACE("(%p)->(%p)\n", This, pctinfo);
551
552 return E_NOTIMPL;
553}

◆ ClDispatch_Invoke()

static HRESULT WINAPI ClDispatch_Invoke ( IDispatch iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 595 of file client.c.

598{
600
601 TRACE("(%p)->(%s %s %d %04x %p %p %p %p)\n", This, debugstr_dispid(dispIdMember),
602 debugstr_guid(riid), lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
603
604 switch(dispIdMember) {
609 if(!This->client_disp)
610 return E_FAIL;
611 return IDispatch_Invoke(This->client_disp, dispIdMember, riid, lcid, wFlags,
612 pDispParams, pVarResult, pExcepInfo, puArgErr);
614 V_VT(pVarResult) = VT_BOOL;
615 V_BOOL(pVarResult) = This->offline;
616 return S_OK;
618 V_VT(pVarResult) = VT_BOOL;
619 V_BOOL(pVarResult) = This->offline;
620 return S_OK;
621 }
622
623 FIXME("unhandled dispid %d\n", dispIdMember);
624 return E_NOTIMPL;
625}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define E_FAIL
Definition: ddrawi.h:102
@ VT_BOOL
Definition: compat.h:2306
static const char * debugstr_dispid(DISPID dispid)
Definition: client.c:576
#define DISPID_AMBIENT_OFFLINEIFNOTCONNECTED
Definition: idispids.h:25
#define DISPID_AMBIENT_SILENT
Definition: idispids.h:26
#define S_OK
Definition: intsafe.h:52
#define DISPID_AMBIENT_DLCONTROL
Definition: mshtmdid.h:539
#define DISPID_AMBIENT_USERAGENT
Definition: mshtmdid.h:540
#define V_BOOL(A)
Definition: oleauto.h:224
#define V_VT(A)
Definition: oleauto.h:211
#define DISPID_AMBIENT_USERMODE
Definition: olectl.h:405
#define DISPID_AMBIENT_PALETTE
Definition: olectl.h:415
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ ClDispatch_QueryInterface()

static HRESULT WINAPI ClDispatch_QueryInterface ( IDispatch iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 528 of file client.c.

529{
531 return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
532}
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ ClDispatch_Release()

static ULONG WINAPI ClDispatch_Release ( IDispatch iface)
static

Definition at line 540 of file client.c.

541{
543 return IOleClientSite_Release(&This->IOleClientSite_iface);
544}

◆ ClientSite_AddRef()

static ULONG WINAPI ClientSite_AddRef ( IOleClientSite iface)
static

Definition at line 88 of file client.c.

89{
91 return This->container_vtbl->addref(This);
92}
static DocHost * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: client.c:30

◆ ClientSite_GetContainer()

static HRESULT WINAPI ClientSite_GetContainer ( IOleClientSite iface,
IOleContainer **  ppContainer 
)
static

Definition at line 115 of file client.c.

116{
118 FIXME("(%p)->(%p)\n", This, ppContainer);
119 return E_NOTIMPL;
120}

◆ ClientSite_GetMoniker()

static HRESULT WINAPI ClientSite_GetMoniker ( IOleClientSite iface,
DWORD  dwAssign,
DWORD  dwWhichMoniker,
IMoniker **  ppmk 
)
static

Definition at line 107 of file client.c.

109{
111 FIXME("(%p)->(%d %d %p)\n", This, dwAssign, dwWhichMoniker, ppmk);
112 return E_NOTIMPL;
113}

◆ ClientSite_OnShowWindow()

static HRESULT WINAPI ClientSite_OnShowWindow ( IOleClientSite iface,
BOOL  fShow 
)
static

Definition at line 129 of file client.c.

130{
132 FIXME("(%p)->(%x)\n", This, fShow);
133 return E_NOTIMPL;
134}

◆ ClientSite_QueryInterface()

static HRESULT WINAPI ClientSite_QueryInterface ( IOleClientSite iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 35 of file client.c.

36{
38
40 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
41 *ppv = &This->IOleClientSite_iface;
43 TRACE("(%p)->(IID_IOleClientSite %p)\n", This, ppv);
44 *ppv = &This->IOleClientSite_iface;
45 }else if(IsEqualGUID(&IID_IOleWindow, riid)) {
46 TRACE("(%p)->(IID_IOleWindow %p)\n", This, ppv);
47 *ppv = &This->IOleInPlaceSiteEx_iface;
49 TRACE("(%p)->(IID_IOleInPlaceSite %p)\n", This, ppv);
50 *ppv = &This->IOleInPlaceSiteEx_iface;
51 }else if(IsEqualGUID(&IID_IOleInPlaceSiteEx, riid)) {
52 TRACE("(%p)->(IID_IOleInPlaceSiteEx %p)\n", This, ppv);
53 *ppv = &This->IOleInPlaceSiteEx_iface;
54 }else if(IsEqualGUID(&IID_IDocHostUIHandler, riid)) {
55 TRACE("(%p)->(IID_IDocHostUIHandler %p)\n", This, ppv);
56 *ppv = &This->IDocHostUIHandler2_iface;
57 }else if(IsEqualGUID(&IID_IDocHostUIHandler2, riid)) {
58 TRACE("(%p)->(IID_IDocHostUIHandler2 %p)\n", This, ppv);
59 *ppv = &This->IDocHostUIHandler2_iface;
60 }else if(IsEqualGUID(&IID_IOleDocumentSite, riid)) {
61 TRACE("(%p)->(IID_IOleDocumentSite %p)\n", This, ppv);
62 *ppv = &This->IOleDocumentSite_iface;
64 TRACE("(%p)->(IID_IOleControlSite %p)\n", This, ppv);
65 *ppv = &This->IOleControlSite_iface;
66 }else if(IsEqualGUID(&IID_IOleCommandTarget, riid)) {
67 TRACE("(%p)->(IID_IOleCommandTarget %p)\n", This, ppv);
68 *ppv = &This->IOleCommandTarget_iface;
69 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
70 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
71 *ppv = &This->IDispatch_iface;
73 TRACE("(%p)->(IID_IPropertyNotifySink %p)\n", This, ppv);
74 *ppv = &This->IPropertyNotifySink_iface;
75 }else if(IsEqualGUID(&IID_IServiceProvider, riid)) {
76 TRACE("(%p)->(IID_IServiceProvider %p)\n", This, ppv);
77 *ppv = &This->IServiceProvider_iface;
78 }else {
79 *ppv = NULL;
80 WARN("Unsupported interface %s\n", debugstr_guid(riid));
81 return E_NOINTERFACE;
82 }
83
84 IUnknown_AddRef((IUnknown*)*ppv);
85 return S_OK;
86}
#define WARN(fmt,...)
Definition: precomp.h:61
const GUID IID_IUnknown
#define NULL
Definition: types.h:112
const GUID IID_IOleInPlaceSite
const GUID IID_IPropertyNotifySink
const GUID IID_IOleWindow
const GUID IID_IOleControlSite
const GUID IID_IOleClientSite
const GUID IID_IDispatch
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ ClientSite_Release()

static ULONG WINAPI ClientSite_Release ( IOleClientSite iface)
static

Definition at line 94 of file client.c.

95{
97 return This->container_vtbl->release(This);
98}

◆ ClientSite_RequestNewObjectLayout()

static HRESULT WINAPI ClientSite_RequestNewObjectLayout ( IOleClientSite iface)
static

Definition at line 136 of file client.c.

137{
139 FIXME("(%p)\n", This);
140 return E_NOTIMPL;
141}

◆ ClientSite_SaveObject()

static HRESULT WINAPI ClientSite_SaveObject ( IOleClientSite iface)
static

Definition at line 100 of file client.c.

101{
103 FIXME("(%p)\n", This);
104 return E_NOTIMPL;
105}

◆ ClientSite_ShowObject()

static HRESULT WINAPI ClientSite_ShowObject ( IOleClientSite iface)
static

Definition at line 122 of file client.c.

123{
125 FIXME("(%p)\n", This);
126 return E_NOTIMPL;
127}

◆ ClServiceProvider_AddRef()

static ULONG WINAPI ClServiceProvider_AddRef ( IServiceProvider iface)
static

Definition at line 649 of file client.c.

650{
652 return IOleClientSite_AddRef(&This->IOleClientSite_iface);
653}
static DocHost * impl_from_IServiceProvider(IServiceProvider *iface)
Definition: client.c:637

◆ ClServiceProvider_QueryInterface()

static HRESULT WINAPI ClServiceProvider_QueryInterface ( IServiceProvider iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 642 of file client.c.

644{
646 return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
647}

◆ ClServiceProvider_QueryService()

static HRESULT WINAPI ClServiceProvider_QueryService ( IServiceProvider iface,
REFGUID  guidService,
REFIID  riid,
void **  ppv 
)
static

Definition at line 661 of file client.c.

663{
665
666 if(IsEqualGUID(&IID_IHlinkFrame, guidService)) {
667 TRACE("(%p)->(IID_IHlinkFrame %s %p)\n", This, debugstr_guid(riid), ppv);
668 return IWebBrowser2_QueryInterface(This->wb, riid, ppv);
669 }
670
671 if(IsEqualGUID(&IID_ITargetFrame, guidService)) {
672 TRACE("(%p)->(IID_ITargetFrame %s %p)\n", This, debugstr_guid(riid), ppv);
673 return IWebBrowser2_QueryInterface(This->wb, riid, ppv);
674 }
675
676 if(IsEqualGUID(&IID_IWebBrowserApp, guidService)) {
677 TRACE("IWebBrowserApp service\n");
678 return IWebBrowser2_QueryInterface(This->wb, riid, ppv);
679 }
680
681 if(IsEqualGUID(&IID_IShellBrowser, guidService)) {
682 TRACE("(%p)->(IID_IShellBrowser %s %p)\n", This, debugstr_guid(riid), ppv);
683
684 if(!This->browser_service) {
686
687 hres = create_browser_service(This, &This->browser_service);
688 if(FAILED(hres))
689 return hres;
690 }
691
692 return IShellBrowser_QueryInterface(&This->browser_service->IShellBrowser_iface, riid, ppv);
693 }
694
695 if(IsEqualGUID(&SID_SNewWindowManager, guidService)) {
696 TRACE("SID_SNewWindowManager service\n");
697 return INewWindowManager_QueryInterface(&This->nwm.INewWindowManager_iface, riid, ppv);
698 }
699
700 FIXME("(%p)->(%s %s %p)\n", This, debugstr_guid(guidService), debugstr_guid(riid), ppv);
701
702 return E_NOINTERFACE;
703}
HRESULT create_browser_service(DocHost *, ShellBrowser **) DECLSPEC_HIDDEN
Definition: shellbrowser.c:921
#define FAILED(hr)
Definition: intsafe.h:51
HRESULT hres
Definition: protocol.c:465

◆ ClServiceProvider_Release()

static ULONG WINAPI ClServiceProvider_Release ( IServiceProvider iface)
static

Definition at line 655 of file client.c.

656{
658 return IOleClientSite_Release(&This->IOleClientSite_iface);
659}

◆ ControlSite_AddRef()

static ULONG WINAPI ControlSite_AddRef ( IOleControlSite iface)
static

Definition at line 424 of file client.c.

425{
427 return IOleClientSite_AddRef(&This->IOleClientSite_iface);
428}
static DocHost * impl_from_IOleControlSite(IOleControlSite *iface)
Definition: client.c:413

◆ ControlSite_GetExtendedControl()

static HRESULT WINAPI ControlSite_GetExtendedControl ( IOleControlSite iface,
IDispatch **  ppDisp 
)
static

Definition at line 450 of file client.c.

451{
453 FIXME("(%p)->(%p)\n", This, ppDisp);
454 return E_NOTIMPL;
455}

◆ ControlSite_LockInPlaceActive()

static HRESULT WINAPI ControlSite_LockInPlaceActive ( IOleControlSite iface,
BOOL  fLock 
)
static

Definition at line 443 of file client.c.

444{
446 FIXME("(%p)->(%d)\n", This, fLock);
447 return E_NOTIMPL;
448}

◆ ControlSite_OnControlInfoChanged()

static HRESULT WINAPI ControlSite_OnControlInfoChanged ( IOleControlSite iface)
static

Definition at line 436 of file client.c.

437{
439 FIXME("(%p)\n", This);
440 return E_NOTIMPL;
441}

◆ ControlSite_OnFocus()

static HRESULT WINAPI ControlSite_OnFocus ( IOleControlSite iface,
BOOL  fGotFocus 
)
static

Definition at line 496 of file client.c.

497{
499 FIXME("(%p)->(%d)\n", This, fGotFocus);
500 return E_NOTIMPL;
501}

◆ ControlSite_QueryInterface()

static HRESULT WINAPI ControlSite_QueryInterface ( IOleControlSite iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 418 of file client.c.

419{
421 return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
422}

◆ ControlSite_Release()

static ULONG WINAPI ControlSite_Release ( IOleControlSite iface)
static

Definition at line 430 of file client.c.

431{
433 return IOleClientSite_Release(&This->IOleClientSite_iface);
434}

◆ ControlSite_ShowPropertyFrame()

static HRESULT WINAPI ControlSite_ShowPropertyFrame ( IOleControlSite iface)
static

Definition at line 503 of file client.c.

504{
506 FIXME("(%p)\n", This);
507 return E_NOTIMPL;
508}

◆ ControlSite_TransformCoords()

static HRESULT WINAPI ControlSite_TransformCoords ( IOleControlSite iface,
POINTL pPtlHimetric,
POINTF *  pPtfContainer,
DWORD  dwFlags 
)
static

Definition at line 457 of file client.c.

459{
461 FIXME("(%p)->(%p, %p, %08x)\n", This, pPtlHimetric, pPtfContainer, dwFlags);
462 return E_NOTIMPL;
463}
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176

◆ ControlSite_TranslateAccelerator()

static HRESULT WINAPI ControlSite_TranslateAccelerator ( IOleControlSite iface,
MSG pMsg,
DWORD  grfModifiers 
)
static

Definition at line 465 of file client.c.

467{
469 IOleObject *wb_obj;
470 IOleClientSite *clientsite;
471 IOleControlSite *controlsite;
472 HRESULT hr;
473
474 TRACE("(%p)->(%p, %08x)\n", This, pMsg, grfModifiers);
475
476 hr = IWebBrowser2_QueryInterface(This->wb, &IID_IOleObject, (void**)&wb_obj);
477 if(SUCCEEDED(hr)) {
478 hr = IOleObject_GetClientSite(wb_obj, &clientsite);
479 if(SUCCEEDED(hr)) {
480 hr = IOleClientSite_QueryInterface(clientsite, &IID_IOleControlSite, (void**)&controlsite);
481 if(SUCCEEDED(hr)) {
482 hr = IOleControlSite_TranslateAccelerator(controlsite, pMsg, grfModifiers);
483 IOleControlSite_Release(controlsite);
484 }
485 IOleClientSite_Release(clientsite);
486 }
487 IOleObject_Release(wb_obj);
488 }
489
490 if(FAILED(hr))
491 return S_FALSE;
492 else
493 return hr;
494}
#define SUCCEEDED(hr)
Definition: intsafe.h:50
const GUID IID_IOleObject
HRESULT hr
Definition: shlfolder.c:183
#define S_FALSE
Definition: winerror.h:2357

◆ debugstr_dispid()

static const char * debugstr_dispid ( DISPID  dispid)
static

Definition at line 576 of file client.c.

577{
578 static char buf[16];
579
580#define CASE_DISPID(did) case did: return #did
581 switch(dispid) {
588 }
589#undef CASE_DISPID
590
591 sprintf(buf, "%d", dispid);
592 return buf;
593}
#define CASE_DISPID(did)
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define sprintf(buf, format,...)
Definition: sprintf.c:55

Referenced by ClDispatch_Invoke().

◆ DocHost_ClientSite_Init()

void DocHost_ClientSite_Init ( DocHost This)

Definition at line 712 of file client.c.

713{
714 This->IOleClientSite_iface.lpVtbl = &OleClientSiteVtbl;
715 This->IOleInPlaceSiteEx_iface.lpVtbl = &OleInPlaceSiteExVtbl;
716 This->IOleDocumentSite_iface.lpVtbl = &OleDocumentSiteVtbl;
717 This->IOleControlSite_iface.lpVtbl = &OleControlSiteVtbl;
718 This->IDispatch_iface.lpVtbl = &DispatchVtbl;
719 This->IServiceProvider_iface.lpVtbl = &ServiceProviderVtbl;
720}
static const IOleClientSiteVtbl OleClientSiteVtbl
Definition: client.c:143
static const IOleInPlaceSiteExVtbl OleInPlaceSiteExVtbl
Definition: client.c:333
static IOleControlSiteVtbl OleControlSiteVtbl
Definition: client.c:510
static const IDispatchVtbl DispatchVtbl
Definition: client.c:627
static const IOleDocumentSiteVtbl OleDocumentSiteVtbl
Definition: client.c:406
static const IServiceProviderVtbl ServiceProviderVtbl
Definition: client.c:705

Referenced by DocHost_Init().

◆ DocHost_ClientSite_Release()

void DocHost_ClientSite_Release ( DocHost This)

Definition at line 722 of file client.c.

723{
724 if(This->browser_service)
725 detach_browser_service(This->browser_service);
726 if(This->view)
727 IOleDocumentView_Release(This->view);
728}
void detach_browser_service(ShellBrowser *) DECLSPEC_HIDDEN
Definition: shellbrowser.c:940

Referenced by DocHost_Release().

◆ impl_from_IDispatch()

static DocHost * impl_from_IDispatch ( IDispatch iface)
inlinestatic

Definition at line 523 of file client.c.

524{
525 return CONTAINING_RECORD(iface, DocHost, IDispatch_iface);
526}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by ClDispatch_AddRef(), ClDispatch_GetIDsOfNames(), ClDispatch_GetTypeInfo(), ClDispatch_GetTypeInfoCount(), ClDispatch_Invoke(), ClDispatch_QueryInterface(), and ClDispatch_Release().

◆ impl_from_IOleClientSite()

◆ impl_from_IOleControlSite()

◆ impl_from_IOleDocumentSite()

static DocHost * impl_from_IOleDocumentSite ( IOleDocumentSite iface)
inlinestatic

Definition at line 355 of file client.c.

356{
357 return CONTAINING_RECORD(iface, DocHost, IOleDocumentSite_iface);
358}

Referenced by OleDocumentSite_ActivateMe(), OleDocumentSite_AddRef(), OleDocumentSite_QueryInterface(), and OleDocumentSite_Release().

◆ impl_from_IOleInPlaceSiteEx()

◆ impl_from_IServiceProvider()

static DocHost * impl_from_IServiceProvider ( IServiceProvider iface)
inlinestatic

Definition at line 637 of file client.c.

638{
639 return CONTAINING_RECORD(iface, DocHost, IServiceProvider_iface);
640}

Referenced by ClServiceProvider_AddRef(), ClServiceProvider_QueryInterface(), ClServiceProvider_QueryService(), and ClServiceProvider_Release().

◆ InPlaceSite_AddRef()

static ULONG WINAPI InPlaceSite_AddRef ( IOleInPlaceSiteEx iface)
static

Definition at line 166 of file client.c.

167{
169 return IOleClientSite_AddRef(&This->IOleClientSite_iface);
170}
static DocHost * impl_from_IOleInPlaceSiteEx(IOleInPlaceSiteEx *iface)
Definition: client.c:155

◆ InPlaceSite_CanInPlaceActivate()

static HRESULT WINAPI InPlaceSite_CanInPlaceActivate ( IOleInPlaceSiteEx iface)
static

Definition at line 195 of file client.c.

196{
198
199 TRACE("(%p)\n", This);
200
201 /* Nothing to do here */
202 return S_OK;
203}

◆ InPlaceSite_ContextSensitiveHelp()

static HRESULT WINAPI InPlaceSite_ContextSensitiveHelp ( IOleInPlaceSiteEx iface,
BOOL  fEnterMode 
)
static

Definition at line 188 of file client.c.

189{
191 FIXME("(%p)->(%x)\n", This, fEnterMode);
192 return E_NOTIMPL;
193}

◆ InPlaceSite_DeactivateAndUndo()

static HRESULT WINAPI InPlaceSite_DeactivateAndUndo ( IOleInPlaceSiteEx iface)
static

Definition at line 277 of file client.c.

278{
280 FIXME("(%p)\n", This);
281 return E_NOTIMPL;
282}

◆ InPlaceSite_DiscardUndoState()

static HRESULT WINAPI InPlaceSite_DiscardUndoState ( IOleInPlaceSiteEx iface)
static

Definition at line 270 of file client.c.

271{
273 FIXME("(%p)\n", This);
274 return E_NOTIMPL;
275}

◆ InPlaceSite_GetWindow()

static HRESULT WINAPI InPlaceSite_GetWindow ( IOleInPlaceSiteEx iface,
HWND phwnd 
)
static

Definition at line 178 of file client.c.

179{
181
182 TRACE("(%p)->(%p)\n", This, phwnd);
183
184 *phwnd = This->hwnd;
185 return S_OK;
186}

◆ InPlaceSite_GetWindowContext()

static HRESULT WINAPI InPlaceSite_GetWindowContext ( IOleInPlaceSiteEx iface,
IOleInPlaceFrame **  ppFrame,
IOleInPlaceUIWindow **  ppDoc,
LPRECT  lprcPosRect,
LPRECT  lprcClipRect,
LPOLEINPLACEFRAMEINFO  lpFrameInfo 
)
static

Definition at line 222 of file client.c.

225{
227
228 TRACE("(%p)->(%p %p %p %p %p)\n", This, ppFrame, ppDoc, lprcPosRect,
229 lprcClipRect, lpFrameInfo);
230
231 IOleInPlaceFrame_AddRef(&This->IOleInPlaceFrame_iface);
232 *ppFrame = &This->IOleInPlaceFrame_iface;
233 *ppDoc = NULL;
234
235 GetClientRect(This->hwnd, lprcPosRect);
236 *lprcClipRect = *lprcPosRect;
237
238 lpFrameInfo->fMDIApp = FALSE;
239 lpFrameInfo->hwndFrame = This->frame_hwnd;
240 lpFrameInfo->haccel = NULL;
241 lpFrameInfo->cAccelEntries = 0; /* FIXME: should be 5 */
242
243 return S_OK;
244}
#define FALSE
Definition: types.h:117
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)

◆ InPlaceSite_OnInPlaceActivate()

static HRESULT WINAPI InPlaceSite_OnInPlaceActivate ( IOleInPlaceSiteEx iface)
static

Definition at line 205 of file client.c.

206{
208
209 TRACE("(%p)\n", This);
210
211 /* Nothing to do here */
212 return S_OK;
213}

◆ InPlaceSite_OnInPlaceActivateEx()

static HRESULT WINAPI InPlaceSite_OnInPlaceActivateEx ( IOleInPlaceSiteEx iface,
BOOL pfNoRedraw,
DWORD  dwFlags 
)
static

Definition at line 292 of file client.c.

294{
296
297 TRACE("(%p)->(%p, %x)\n", This, pfNoRedraw, dwFlags);
298
299 /* FIXME: Avoid redraw, when possible */
300 *pfNoRedraw = FALSE;
301
302 if (dwFlags) {
303 FIXME("dwFlags not supported (%x)\n", dwFlags);
304 }
305
306 /* Nothing to do here */
307 return S_OK;
308}

◆ InPlaceSite_OnInPlaceDeactivate()

static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivate ( IOleInPlaceSiteEx iface)
static

Definition at line 260 of file client.c.

261{
263
264 TRACE("(%p)\n", This);
265
266 /* Nothing to do here */
267 return S_OK;
268}

◆ InPlaceSite_OnInPlaceDeactivateEx()

static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivateEx ( IOleInPlaceSiteEx iface,
BOOL  fNoRedraw 
)
static

Definition at line 310 of file client.c.

311{
313
314 TRACE("(%p)->(%x)\n", This, fNoRedraw);
315
316 if (fNoRedraw) {
317 FIXME("fNoRedraw (%x) ignored\n", fNoRedraw);
318 }
319
320 /* Nothing to do here */
321 return S_OK;
322}

◆ InPlaceSite_OnPosRectChange()

static HRESULT WINAPI InPlaceSite_OnPosRectChange ( IOleInPlaceSiteEx iface,
LPCRECT  lprcPosRect 
)
static

Definition at line 284 of file client.c.

286{
288 FIXME("(%p)->(%p)\n", This, lprcPosRect);
289 return E_NOTIMPL;
290}

◆ InPlaceSite_OnUIActivate()

static HRESULT WINAPI InPlaceSite_OnUIActivate ( IOleInPlaceSiteEx iface)
static

Definition at line 215 of file client.c.

216{
218 FIXME("(%p)\n", This);
219 return E_NOTIMPL;
220}

◆ InPlaceSite_OnUIDeactivate()

static HRESULT WINAPI InPlaceSite_OnUIDeactivate ( IOleInPlaceSiteEx iface,
BOOL  fUndoable 
)
static

Definition at line 253 of file client.c.

254{
256 FIXME("(%p)->(%x)\n", This, fUndoable);
257 return E_NOTIMPL;
258}

◆ InPlaceSite_QueryInterface()

static HRESULT WINAPI InPlaceSite_QueryInterface ( IOleInPlaceSiteEx iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 160 of file client.c.

161{
163 return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
164}

◆ InPlaceSite_Release()

static ULONG WINAPI InPlaceSite_Release ( IOleInPlaceSiteEx iface)
static

Definition at line 172 of file client.c.

173{
175 return IOleClientSite_Release(&This->IOleClientSite_iface);
176}

◆ InPlaceSite_RequestUIActivate()

static HRESULT WINAPI InPlaceSite_RequestUIActivate ( IOleInPlaceSiteEx iface)
static

Definition at line 324 of file client.c.

325{
327 TRACE("(%p)\n", This);
328
329 /* OnUIActivate is always possible */
330 return S_OK;
331}

◆ InPlaceSite_Scroll()

static HRESULT WINAPI InPlaceSite_Scroll ( IOleInPlaceSiteEx iface,
SIZE  scrollExtent 
)
static

Definition at line 246 of file client.c.

247{
249 FIXME("(%p)->({%d %d})\n", This, scrollExtent.cx, scrollExtent.cy);
250 return E_NOTIMPL;
251}
LONG cx
Definition: kdterminal.h:27
LONG cy
Definition: kdterminal.h:28

◆ OleDocumentSite_ActivateMe()

static HRESULT WINAPI OleDocumentSite_ActivateMe ( IOleDocumentSite iface,
IOleDocumentView pViewToActivate 
)
static

Definition at line 379 of file client.c.

381{
383 IOleDocument *oledoc;
384 RECT rect;
386
387 TRACE("(%p)->(%p)\n", This, pViewToActivate);
388
389 hres = IUnknown_QueryInterface(This->document, &IID_IOleDocument, (void**)&oledoc);
390 if(FAILED(hres))
391 return hres;
392
393 hres = IOleDocument_CreateView(oledoc, (IOleInPlaceSite*) &This->IOleInPlaceSiteEx_iface, NULL, 0, &This->view);
394 IOleDocument_Release(oledoc);
395 if(FAILED(hres))
396 return hres;
397
398 GetClientRect(This->hwnd, &rect);
399 IOleDocumentView_SetRect(This->view, &rect);
400
401 hres = IOleDocumentView_Show(This->view, TRUE);
402
403 return hres;
404}
#define TRUE
Definition: types.h:120
static DocHost * impl_from_IOleDocumentSite(IOleDocumentSite *iface)
Definition: client.c:355
& rect
Definition: startmenu.cpp:1413

◆ OleDocumentSite_AddRef()

static ULONG WINAPI OleDocumentSite_AddRef ( IOleDocumentSite iface)
static

Definition at line 367 of file client.c.

368{
370 return IOleClientSite_AddRef(&This->IOleClientSite_iface);
371}

◆ OleDocumentSite_QueryInterface()

static HRESULT WINAPI OleDocumentSite_QueryInterface ( IOleDocumentSite iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 360 of file client.c.

362{
364 return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
365}

◆ OleDocumentSite_Release()

static ULONG WINAPI OleDocumentSite_Release ( IOleDocumentSite iface)
static

Definition at line 373 of file client.c.

374{
376 return IOleClientSite_Release(&This->IOleClientSite_iface);
377}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( ieframe  )

Variable Documentation

◆ DispatchVtbl

const IDispatchVtbl DispatchVtbl
static
Initial value:
= {
}
static ULONG WINAPI ClDispatch_AddRef(IDispatch *iface)
Definition: client.c:534
static HRESULT WINAPI ClDispatch_Invoke(IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: client.c:595
static HRESULT WINAPI ClDispatch_QueryInterface(IDispatch *iface, REFIID riid, void **ppv)
Definition: client.c:528
static ULONG WINAPI ClDispatch_Release(IDispatch *iface)
Definition: client.c:540
static HRESULT WINAPI ClDispatch_GetIDsOfNames(IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: client.c:565
static HRESULT WINAPI ClDispatch_GetTypeInfoCount(IDispatch *iface, UINT *pctinfo)
Definition: client.c:546
static HRESULT WINAPI ClDispatch_GetTypeInfo(IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: client.c:555

Definition at line 627 of file client.c.

Referenced by DocHost_ClientSite_Init().

◆ OleClientSiteVtbl

const IOleClientSiteVtbl OleClientSiteVtbl
static
Initial value:
= {
}
static HRESULT WINAPI ClientSite_RequestNewObjectLayout(IOleClientSite *iface)
Definition: client.c:136
static HRESULT WINAPI ClientSite_ShowObject(IOleClientSite *iface)
Definition: client.c:122
static ULONG WINAPI ClientSite_AddRef(IOleClientSite *iface)
Definition: client.c:88
static ULONG WINAPI ClientSite_Release(IOleClientSite *iface)
Definition: client.c:94
static HRESULT WINAPI ClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
Definition: client.c:107
static HRESULT WINAPI ClientSite_SaveObject(IOleClientSite *iface)
Definition: client.c:100
static HRESULT WINAPI ClientSite_QueryInterface(IOleClientSite *iface, REFIID riid, void **ppv)
Definition: client.c:35
static HRESULT WINAPI ClientSite_OnShowWindow(IOleClientSite *iface, BOOL fShow)
Definition: client.c:129
static HRESULT WINAPI ClientSite_GetContainer(IOleClientSite *iface, IOleContainer **ppContainer)
Definition: client.c:115

Definition at line 143 of file client.c.

Referenced by DocHost_ClientSite_Init().

◆ OleControlSiteVtbl

IOleControlSiteVtbl OleControlSiteVtbl
static
Initial value:
= {
}
static HRESULT WINAPI ControlSite_ShowPropertyFrame(IOleControlSite *iface)
Definition: client.c:503
static HRESULT WINAPI ControlSite_OnControlInfoChanged(IOleControlSite *iface)
Definition: client.c:436
static ULONG WINAPI ControlSite_Release(IOleControlSite *iface)
Definition: client.c:430
static ULONG WINAPI ControlSite_AddRef(IOleControlSite *iface)
Definition: client.c:424
static HRESULT WINAPI ControlSite_GetExtendedControl(IOleControlSite *iface, IDispatch **ppDisp)
Definition: client.c:450
static HRESULT WINAPI ControlSite_TransformCoords(IOleControlSite *iface, POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags)
Definition: client.c:457
static HRESULT WINAPI ControlSite_TranslateAccelerator(IOleControlSite *iface, MSG *pMsg, DWORD grfModifiers)
Definition: client.c:465
static HRESULT WINAPI ControlSite_OnFocus(IOleControlSite *iface, BOOL fGotFocus)
Definition: client.c:496
static HRESULT WINAPI ControlSite_QueryInterface(IOleControlSite *iface, REFIID riid, void **ppv)
Definition: client.c:418
static HRESULT WINAPI ControlSite_LockInPlaceActive(IOleControlSite *iface, BOOL fLock)
Definition: client.c:443

Definition at line 510 of file client.c.

Referenced by DocHost_ClientSite_Init().

◆ OleDocumentSiteVtbl

const IOleDocumentSiteVtbl OleDocumentSiteVtbl
static
Initial value:
= {
}
static ULONG WINAPI OleDocumentSite_Release(IOleDocumentSite *iface)
Definition: client.c:373
static HRESULT WINAPI OleDocumentSite_QueryInterface(IOleDocumentSite *iface, REFIID riid, void **ppv)
Definition: client.c:360
static HRESULT WINAPI OleDocumentSite_ActivateMe(IOleDocumentSite *iface, IOleDocumentView *pViewToActivate)
Definition: client.c:379
static ULONG WINAPI OleDocumentSite_AddRef(IOleDocumentSite *iface)
Definition: client.c:367

Definition at line 406 of file client.c.

Referenced by DocHost_ClientSite_Init().

◆ OleInPlaceSiteExVtbl

const IOleInPlaceSiteExVtbl OleInPlaceSiteExVtbl
static
Initial value:
= {
}
static HRESULT WINAPI InPlaceSite_Scroll(IOleInPlaceSiteEx *iface, SIZE scrollExtent)
Definition: client.c:246
static HRESULT WINAPI InPlaceSite_OnInPlaceActivateEx(IOleInPlaceSiteEx *iface, BOOL *pfNoRedraw, DWORD dwFlags)
Definition: client.c:292
static HRESULT WINAPI InPlaceSite_OnPosRectChange(IOleInPlaceSiteEx *iface, LPCRECT lprcPosRect)
Definition: client.c:284
static HRESULT WINAPI InPlaceSite_OnUIActivate(IOleInPlaceSiteEx *iface)
Definition: client.c:215
static HRESULT WINAPI InPlaceSite_DeactivateAndUndo(IOleInPlaceSiteEx *iface)
Definition: client.c:277
static HRESULT WINAPI InPlaceSite_GetWindow(IOleInPlaceSiteEx *iface, HWND *phwnd)
Definition: client.c:178
static HRESULT WINAPI InPlaceSite_OnUIDeactivate(IOleInPlaceSiteEx *iface, BOOL fUndoable)
Definition: client.c:253
static HRESULT WINAPI InPlaceSite_RequestUIActivate(IOleInPlaceSiteEx *iface)
Definition: client.c:324
static HRESULT WINAPI InPlaceSite_ContextSensitiveHelp(IOleInPlaceSiteEx *iface, BOOL fEnterMode)
Definition: client.c:188
static HRESULT WINAPI InPlaceSite_QueryInterface(IOleInPlaceSiteEx *iface, REFIID riid, void **ppv)
Definition: client.c:160
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivateEx(IOleInPlaceSiteEx *iface, BOOL fNoRedraw)
Definition: client.c:310
static HRESULT WINAPI InPlaceSite_OnInPlaceActivate(IOleInPlaceSiteEx *iface)
Definition: client.c:205
static HRESULT WINAPI InPlaceSite_GetWindowContext(IOleInPlaceSiteEx *iface, IOleInPlaceFrame **ppFrame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
Definition: client.c:222
static HRESULT WINAPI InPlaceSite_DiscardUndoState(IOleInPlaceSiteEx *iface)
Definition: client.c:270
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivate(IOleInPlaceSiteEx *iface)
Definition: client.c:260
static ULONG WINAPI InPlaceSite_Release(IOleInPlaceSiteEx *iface)
Definition: client.c:172
static HRESULT WINAPI InPlaceSite_CanInPlaceActivate(IOleInPlaceSiteEx *iface)
Definition: client.c:195
static ULONG WINAPI InPlaceSite_AddRef(IOleInPlaceSiteEx *iface)
Definition: client.c:166

Definition at line 333 of file client.c.

Referenced by DocHost_ClientSite_Init().

◆ ServiceProviderVtbl

const IServiceProviderVtbl ServiceProviderVtbl
static
Initial value:
= {
}
static HRESULT WINAPI ClServiceProvider_QueryInterface(IServiceProvider *iface, REFIID riid, void **ppv)
Definition: client.c:642
static HRESULT WINAPI ClServiceProvider_QueryService(IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
Definition: client.c:661
static ULONG WINAPI ClServiceProvider_AddRef(IServiceProvider *iface)
Definition: client.c:649
static ULONG WINAPI ClServiceProvider_Release(IServiceProvider *iface)
Definition: client.c:655

Definition at line 705 of file client.c.

Referenced by DocHost_ClientSite_Init().