ReactOS  0.4.12-dev-18-gf469aca
ATL::CComCreator2< T1, T2 > Class Template Reference

#include <atlcom.h>

Static Public Member Functions

static HRESULT WINAPI CreateInstance (void *pv, REFIID riid, LPVOID *ppv)
 

Detailed Description

template<class T1, class T2>
class ATL::CComCreator2< T1, T2 >

Definition at line 454 of file atlcom.h.

Member Function Documentation

◆ CreateInstance()

template<class T1 , class T2 >
static HRESULT WINAPI ATL::CComCreator2< T1, T2 >::CreateInstance ( void pv,
REFIID  riid,
LPVOID ppv 
)
inlinestatic

Definition at line 457 of file atlcom.h.

458  {
459  ATLASSERT(ppv != NULL && riid != NULL);
460 
461  if (pv == NULL)
462  return T1::CreateInstance(NULL, riid, ppv);
463  else
464  return T2::CreateInstance(pv, riid, ppv);
465  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:9
REFIID riid
Definition: precomp.h:44
smooth NULL
Definition: ftsmooth.c:416

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