ReactOS  0.4.12-dev-18-gf469aca
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 400 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 403 of file atlcom.h.

404  {
405  ATLASSERT(ppv != NULL);
406  if (ppv == NULL)
407  return E_POINTER;
408  *ppv = NULL;
409 
410  return hResult;
411  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:9
smooth NULL
Definition: ftsmooth.c:416
#define E_POINTER
Definition: winerror.h:2365

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