ReactOS 0.4.15-dev-8191-gbc6c731
scanningtuner.cpp File Reference
#include "precomp.h"
Include dependency graph for scanningtuner.cpp:

Go to the source code of this file.

Classes

class  CScanningTunner
 

Functions

HRESULT WINAPI CScanningTunner_fnConstructor (std::vector< IUnknown * > &DeviceFilter, REFIID riid, LPVOID *ppv)
 

Function Documentation

◆ CScanningTunner_fnConstructor()

HRESULT WINAPI CScanningTunner_fnConstructor ( std::vector< IUnknown * > &  DeviceFilter,
REFIID  riid,
LPVOID ppv 
)

Definition at line 696 of file scanningtuner.cpp.

700{
701 CScanningTunner * handler = new CScanningTunner(DeviceFilter);
702
703#ifdef MSDVBNP_TRACE
707 swprintf(Buffer, L"CScanningTunner_fnConstructor riid %s\n", lpstr);
709#endif
710
711 if (!handler)
712 return E_OUTOFMEMORY;
713
714 if (FAILED(handler->QueryInterface(riid, ppv)))
715 {
716 /* not supported */
717 delete handler;
718 return E_NOINTERFACE;
719 }
720
721 return NOERROR;
722}
Definition: bufpool.h:45
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define MAX_PATH
Definition: compat.h:34
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7482
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412
#define swprintf
Definition: precomp.h:40
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
static LPCSTR lpstr
Definition: font.c:51
static LPOLESTR
Definition: stg_prop.c:27
#define L(x)
Definition: ntvdm.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by CNetworkProvider::QueryInterface().