ReactOS 0.4.16-dev-88-ga65b6ae
cvpvbiconfig.cpp File Reference
#include "precomp.h"
Include dependency graph for cvpvbiconfig.cpp:

Go to the source code of this file.

Classes

class  CVPVBIConfig
 

Functions

HRESULT WINAPI CVPVBIConfig_Constructor (IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
 

Function Documentation

◆ CVPVBIConfig_Constructor()

HRESULT WINAPI CVPVBIConfig_Constructor ( IUnknown pUnkOuter,
REFIID  riid,
LPVOID ppv 
)

Definition at line 306 of file cvpvbiconfig.cpp.

310{
311#ifdef KSPROXY_TRACE
312 OutputDebugStringW(L"CVPVBIConfig_Constructor\n");
313#endif
314
316
317 if (!handler)
318 return E_OUTOFMEMORY;
319
320 if (FAILED(handler->QueryInterface(riid, ppv)))
321 {
322 /* not supported */
323 delete handler;
324 return E_NOINTERFACE;
325 }
326
327 return NOERROR;
328}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7512
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define FAILED(hr)
Definition: intsafe.h:51
#define L(x)
Definition: ntvdm.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354