ReactOS 0.4.15-dev-6047-gb29e82d
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 406 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 409 of file atlcom.h.

410 {
411 ATLASSERT(ppv != NULL);
412 if (ppv == NULL)
413 return E_POINTER;
414 *ppv = NULL;
415
416 return hResult;
417 }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
#define NULL
Definition: types.h:112
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_POINTER
Definition: winerror.h:2365

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