ReactOS  0.4.14-dev-49-gfb4591c
IComSrvQI< IUnknown > Struct Template Reference

#include <shellclasses.h>

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

Public Member Functions

STDMETHODIMP QueryInterface (REFIID riid, LPVOID *ppv)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Protected Member Functions

 IComSrvQI ()
 
virtual ~IComSrvQI ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

template<>
struct IComSrvQI< IUnknown >

Definition at line 490 of file shellclasses.h.

Constructor & Destructor Documentation

◆ IComSrvQI()

IComSrvQI< IUnknown >::IComSrvQI ( )
inlineprotected

Definition at line 503 of file shellclasses.h.

503 {}

◆ ~IComSrvQI()

virtual IComSrvQI< IUnknown >::~IComSrvQI ( )
inlineprotectedvirtual

Definition at line 504 of file shellclasses.h.

504 {}

Member Function Documentation

◆ QueryInterface()

STDMETHODIMP IComSrvQI< IUnknown >::QueryInterface ( REFIID  riid,
LPVOID ppv 
)
inline

Definition at line 492 of file shellclasses.h.

493  {
494  *ppv = NULL;
495 
497  {*ppv=this; AddRef(); return S_OK;}
498 
499  return E_NOINTERFACE;
500  }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
smooth NULL
Definition: ftsmooth.c:416
const GUID IID_IUnknown
ULONG AddRef()
#define S_OK
Definition: intsafe.h:59
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95

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