ReactOS  0.4.15-dev-3451-gf606fec
ATL::_CopyInterface< T > Class Template Reference

#include <atlcom.h>

Static Public Member Functions

static HRESULT copy (T **pTo, T **pFrom)
 
static void init (T **)
 
static void destroy (T **p)
 

Detailed Description

template<class T>
class ATL::_CopyInterface< T >

Definition at line 825 of file atlcom.h.

Member Function Documentation

◆ copy()

template<class T >
static HRESULT ATL::_CopyInterface< T >::copy ( T **  pTo,
T **  pFrom 
)
inlinestatic

Definition at line 828 of file atlcom.h.

829  {
830  *pTo = *pFrom;
831  if (*pTo)
832  (*pTo)->AddRef();
833  return S_OK;
834  }
#define S_OK
Definition: intsafe.h:52

◆ destroy()

template<class T >
static void ATL::_CopyInterface< T >::destroy ( T **  p)
inlinestatic

Definition at line 840 of file atlcom.h.

841  {
842  if (*p)
843  (*p)->Release();
844  }
GLfloat GLfloat p
Definition: glext.h:8902

◆ init()

template<class T >
static void ATL::_CopyInterface< T >::init ( T **  )
inlinestatic

Definition at line 836 of file atlcom.h.

837  {
838  }

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