ReactOS  0.4.12-dev-90-g2e2e63e
anonymous_namespace{mstscax.cpp}::CoClass::CoClassInner Class Reference
Inheritance diagram for anonymous_namespace{mstscax.cpp}::CoClass::CoClassInner:
Collaboration diagram for anonymous_namespace{mstscax.cpp}::CoClass::CoClassInner:

Public Member Functions

virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject)
 
virtual ULONG STDMETHODCALLTYPE AddRef ()
 
virtual ULONG STDMETHODCALLTYPE Release ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 2779 of file mstscax.cpp.

Member Function Documentation

◆ AddRef()

virtual ULONG STDMETHODCALLTYPE anonymous_namespace{mstscax.cpp}::CoClass::CoClassInner::AddRef ( void  )
inlinevirtual

Implements IUnknown.

Definition at line 2794 of file mstscax.cpp.

2795  {
2796  return InnerToOuter(this)->addRef();
2797  }
static CoClass * InnerToOuter(CoClassInner *inner)
Definition: mstscax.cpp:2806

◆ QueryInterface()

virtual HRESULT STDMETHODCALLTYPE anonymous_namespace{mstscax.cpp}::CoClass::CoClassInner::QueryInterface ( REFIID  riid,
void **  ppvObject 
)
inlinevirtual

Implements IUnknown.

Definition at line 2782 of file mstscax.cpp.

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::CreateInstance().

2783  {
2784  if(riid == IID_IUnknown)
2785  {
2786  AddRef();
2787  *ppvObject = this;
2788  return S_OK;
2789  }
2790 
2791  return InnerToOuter(this)->queryInterface(riid, ppvObject);
2792  }
REFIID riid
Definition: precomp.h:44
const GUID IID_IUnknown
HRESULT queryInterface(REFIID riid, void **ppvObject)
Definition: mstscax.cpp:2671
static CoClass * InnerToOuter(CoClassInner *inner)
Definition: mstscax.cpp:2806
#define S_OK
Definition: intsafe.h:59

◆ Release()

virtual ULONG STDMETHODCALLTYPE anonymous_namespace{mstscax.cpp}::CoClass::CoClassInner::Release ( void  )
inlinevirtual

Implements IUnknown.

Definition at line 2799 of file mstscax.cpp.

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::CreateInstance().

2800  {
2801  return InnerToOuter(this)->release();
2802  }
static CoClass * InnerToOuter(CoClassInner *inner)
Definition: mstscax.cpp:2806

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