ReactOS 0.4.15-dev-7906-g1b85a5f
ATL::CComContainedObject< Base > Class Template Reference

#include <atlcom.h>

Inheritance diagram for ATL::CComContainedObject< Base >:
Collaboration diagram for ATL::CComContainedObject< Base >:

Public Member Functions

 CComContainedObject (void *pv=NULL)
 
 STDMETHOD_ (ULONG, AddRef)()
 
 STDMETHOD_ (ULONG, Release)()
 
STDMETHOD() QueryInterface (REFIID iid, void **ppvObject)
 
IUnknownGetControllingUnknown ()
 

Public Attributes

IUnknownm_pUnkOuter
 

Detailed Description

template<class Base>
class ATL::CComContainedObject< Base >

Definition at line 207 of file atlcom.h.

Constructor & Destructor Documentation

◆ CComContainedObject()

template<class Base >
ATL::CComContainedObject< Base >::CComContainedObject ( void pv = NULL)
inline

Definition at line 211 of file atlcom.h.

211 : m_pUnkOuter(static_cast<IUnknown*>(pv))
212 {
213 }
IUnknown * m_pUnkOuter
Definition: atlcom.h:210

Member Function Documentation

◆ GetControllingUnknown()

template<class Base >
IUnknown * ATL::CComContainedObject< Base >::GetControllingUnknown ( )
inline

Definition at line 230 of file atlcom.h.

231 {
232 return m_pUnkOuter;
233 }

◆ QueryInterface()

template<class Base >
STDMETHOD() ATL::CComContainedObject< Base >::QueryInterface ( REFIID  iid,
void **  ppvObject 
)
inline

Definition at line 225 of file atlcom.h.

226 {
228 }
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082

◆ STDMETHOD_() [1/2]

template<class Base >
ATL::CComContainedObject< Base >::STDMETHOD_ ( ULONG  ,
AddRef   
)
inline

Definition at line 215 of file atlcom.h.

216 {
217 return m_pUnkOuter->AddRef();
218 }
ULONG AddRef()

◆ STDMETHOD_() [2/2]

template<class Base >
ATL::CComContainedObject< Base >::STDMETHOD_ ( ULONG  ,
Release   
)
inline

Definition at line 220 of file atlcom.h.

221 {
222 return m_pUnkOuter->Release();
223 }
ULONG Release()

Member Data Documentation

◆ m_pUnkOuter


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