ReactOS  0.4.15-dev-3453-gff89651
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 455 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 458 of file atlcom.h.

459  {
460  ATLASSERT(ppv != NULL);
461 
462  if (pv == NULL)
463  return T1::CreateInstance(NULL, riid, ppv);
464  else
465  return T2::CreateInstance(pv, riid, ppv);
466  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define NULL
Definition: types.h:112

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