ReactOS 0.4.15-dev-7842-g558ab78
ATL::CComObjectNoLock< Base > Class Template Reference

#include <atlcom.h>

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

Public Member Functions

 CComObjectNoLock (void *=NULL)
 
virtual ~CComObjectNoLock ()
 
 STDMETHOD_ (ULONG, AddRef)()
 
 STDMETHOD_ (ULONG, Release)()
 
STDMETHOD() QueryInterface (REFIID iid, void **ppvObject)
 

Detailed Description

template<class Base>
class ATL::CComObjectNoLock< Base >

Definition at line 549 of file atlcom.h.

Constructor & Destructor Documentation

◆ CComObjectNoLock()

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

Definition at line 552 of file atlcom.h.

553 {
554 }

◆ ~CComObjectNoLock()

template<class Base >
virtual ATL::CComObjectNoLock< Base >::~CComObjectNoLock ( )
inlinevirtual

Definition at line 556 of file atlcom.h.

557 {
558 this->FinalRelease();
559 }

Member Function Documentation

◆ QueryInterface()

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

Definition at line 574 of file atlcom.h.

575 {
576 return this->_InternalQueryInterface(iid, ppvObject);
577 }
_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::CComObjectNoLock< Base >::STDMETHOD_ ( ULONG  ,
AddRef   
)
inline

Definition at line 561 of file atlcom.h.

562 {
563 return this->InternalAddRef();
564 }

◆ STDMETHOD_() [2/2]

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

Definition at line 566 of file atlcom.h.

567 {
568 ULONG newRefCount = this->InternalRelease();
569 if (newRefCount == 0)
570 delete this;
571 return newRefCount;
572 }
uint32_t ULONG
Definition: typedefs.h:59

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