ReactOS 0.4.16-dev-311-g9382aa2
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 }
const GUID IID_IUnknown
#define NULL
Definition: types.h:112
#define BASE
Definition: inflate.c:58
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
#define E_NOINTERFACE
Definition: winerror.h:2364

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< BASE >::QueryInterface().


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