Public Member Functions | Protected Member Functions | Protected Attributes

IComSrvQI< BASE > Struct Template Reference

#include <shellclasses.h>

Inheritance diagram for IComSrvQI< BASE >:
Inheritance graph
Collaboration diagram for IComSrvQI< BASE >:
Collaboration graph

List of all members.

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 466 of file shellclasses.h.

Constructor & Destructor Documentation

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

Definition at line 468 of file shellclasses.h.

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

Definition at line 484 of file shellclasses.h.

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

Definition at line 485 of file shellclasses.h.


Member Function Documentation

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

Definition at line 473 of file shellclasses.h.

        *ppv = NULL;

        if (IsEqualIID(riid, _uuid_base) || IsEqualIID(riid, IID_IUnknown))
            {*ppv=static_cast<BASE*>(this); this->AddRef(); return S_OK;}

        return E_NOINTERFACE;

Member Data Documentation

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

Definition at line 487 of file shellclasses.h.

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

The documentation for this struct was generated from the following file:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage