ReactOS  0.4.12-dev-51-ge94618b
ATL::_Copy< CONNECTDATA > Class Template Reference

#include <atlcom.h>

Static Public Member Functions

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

Detailed Description

template<>
class ATL::_Copy< CONNECTDATA >

Definition at line 801 of file atlcom.h.

Member Function Documentation

◆ copy()

static HRESULT ATL::_Copy< CONNECTDATA >::copy ( CONNECTDATA *  pTo,
const CONNECTDATA *  pFrom 
)
inlinestatic

Definition at line 804 of file atlcom.h.

805  {
806  *pTo = *pFrom;
807  if (pTo->pUnk)
808  pTo->pUnk->AddRef();
809  return S_OK;
810  }
#define S_OK
Definition: intsafe.h:59

◆ destroy()

static void ATL::_Copy< CONNECTDATA >::destroy ( CONNECTDATA *  p)
inlinestatic

Definition at line 816 of file atlcom.h.

817  {
818  if (p->pUnk)
819  p->pUnk->Release();
820  }
GLfloat GLfloat p
Definition: glext.h:8902

◆ init()

static void ATL::_Copy< CONNECTDATA >::init ( CONNECTDATA *  )
inlinestatic

Definition at line 812 of file atlcom.h.

813  {
814  }

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