ReactOS  0.4.12-dev-51-ge94618b
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 824 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 827 of file atlcom.h.

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

◆ destroy()

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

Definition at line 839 of file atlcom.h.

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

◆ init()

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

Definition at line 835 of file atlcom.h.

836  {
837  }

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