ReactOS 0.4.15-dev-7660-g0086d05
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 883 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 886 of file atlcom.h.

887 {
888 *pTo = *pFrom;
889 if (*pTo)
890 (*pTo)->AddRef();
891 return S_OK;
892 }
#define S_OK
Definition: intsafe.h:52

◆ destroy()

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

Definition at line 898 of file atlcom.h.

899 {
900 if (*p)
901 (*p)->Release();
902 }
GLfloat GLfloat p
Definition: glext.h:8902

◆ init()

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

Definition at line 894 of file atlcom.h.

895 {
896 }

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