ReactOS  0.4.15-dev-3177-gd6a0299
ATL::CComFailCreator< hResult > Class Template Reference

#include <atlcom.h>

Static Public Member Functions

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

Detailed Description

template<HRESULT hResult>
class ATL::CComFailCreator< hResult >

Definition at line 401 of file atlcom.h.

Member Function Documentation

◆ CreateInstance()

template<HRESULT hResult>
static HRESULT WINAPI ATL::CComFailCreator< hResult >::CreateInstance ( void ,
REFIID  ,
LPVOID ppv 
)
inlinestatic

Definition at line 404 of file atlcom.h.

405  {
406  ATLASSERT(ppv != NULL);
407  if (ppv == NULL)
408  return E_POINTER;
409  *ppv = NULL;
410 
411  return hResult;
412  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define NULL
Definition: types.h:112
#define E_POINTER
Definition: winerror.h:2365

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