ReactOS 0.4.15-dev-8344-g0574987
IComSrvQI< IUnknown > Struct 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

Definition at line 490 of file shellclasses.h.

Constructor & Destructor Documentation

◆ IComSrvQI()

IComSrvQI< IUnknown >::IComSrvQI ( )
inlineprotected

Definition at line 492 of file shellclasses.h.

503{}

◆ ~IComSrvQI()

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

Definition at line 492 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 }
const GUID IID_IUnknown
#define NULL
Definition: types.h:112
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
ULONG AddRef()
#define S_OK
Definition: intsafe.h:52
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
#define E_NOINTERFACE
Definition: winerror.h:2364

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