IComSrvQI< BASE > Struct Template Reference

#include <webchild.h>

Inheritance diagram for IComSrvQI< BASE >:

Inheritance graph
[legend]
Collaboration diagram for IComSrvQI< BASE >:

Collaboration graph
[legend]

Public Member Functions

 IComSrvQI (REFIID uuid_base)
STDMETHODIMP QueryInterface (REFIID riid, LPVOID *ppv)

Protected Member Functions

 IComSrvQI ()
virtual ~IComSrvQI ()

Protected Attributes

REFIID _uuid_base

Detailed Description

template<typename BASE>
struct IComSrvQI< BASE >

Definition at line 111 of file webchild.h.


Constructor & Destructor Documentation

template<typename BASE>
IComSrvQI< BASE >::IComSrvQI ( REFIID  uuid_base  )  [inline]

Definition at line 113 of file webchild.h.

00114      :  _uuid_base(uuid_base)
00115     {
00116     }

template<typename BASE>
IComSrvQI< BASE >::IComSrvQI (  )  [inline, protected]

Definition at line 129 of file webchild.h.

00129 {}

template<typename BASE>
virtual IComSrvQI< BASE >::~IComSrvQI (  )  [inline, protected, virtual]

Definition at line 130 of file webchild.h.

00130 {}


Member Function Documentation

template<typename BASE>
STDMETHODIMP IComSrvQI< BASE >::QueryInterface ( REFIID  riid,
LPVOID *  ppv 
) [inline]

Definition at line 118 of file webchild.h.

00119     {
00120         *ppv = NULL;
00121 
00122         if (IsEqualIID(riid, _uuid_base) || IsEqualIID(riid, IID_IUnknown))
00123             {*ppv=static_cast<BASE*>(this); this->AddRef(); return S_OK;}
00124 
00125         return E_NOINTERFACE;
00126     }


Field Documentation

template<typename BASE>
REFIID IComSrvQI< BASE >::_uuid_base [protected]

Definition at line 132 of file webchild.h.

Referenced by IComSrvQI< FixedDWebBrowserEvents2 >::QueryInterface().


The documentation for this struct was generated from the following file:
IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage