ReactOS  0.4.13-dev-464-g6b95727
IComSrvQI< BASE > Struct Template Reference

#include <shellclasses.h>

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

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

◆ IComSrvQI() [1/2]

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

Definition at line 468 of file shellclasses.h.

469  : _uuid_base(uuid_base)
470  {
471  }
REFIID _uuid_base
Definition: shellclasses.h:487

◆ IComSrvQI() [2/2]

template<typename BASE>
IComSrvQI< BASE >::IComSrvQI ( )
inlineprotected

Definition at line 484 of file shellclasses.h.

484 {}

◆ ~IComSrvQI()

template<typename BASE>
virtual IComSrvQI< BASE >::~IComSrvQI ( )
inlineprotectedvirtual

Definition at line 485 of file shellclasses.h.

485 {}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 473 of file shellclasses.h.

474  {
475  *ppv = NULL;
476 
478  {*ppv=static_cast<BASE*>(this); this->AddRef(); return S_OK;}
479 
480  return E_NOINTERFACE;
481  }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID _uuid_base
Definition: shellclasses.h:487
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
smooth NULL
Definition: ftsmooth.c:416
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:90

Member Data Documentation

◆ _uuid_base

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: