ReactOS  0.4.15-dev-3451-gf606fec
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 802 of file atlcom.h.

Member Function Documentation

◆ copy()

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

Definition at line 805 of file atlcom.h.

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

◆ destroy()

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

Definition at line 817 of file atlcom.h.

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

◆ init()

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

Definition at line 813 of file atlcom.h.

814  {
815  }

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