ReactOS  0.4.15-dev-488-gc7a1924
networkprovider.cpp File Reference
#include "precomp.h"
Include dependency graph for networkprovider.cpp:

Go to the source code of this file.

Classes

class  CNetworkProvider
 

Macros

#define DEVICE_FILTER_MASK   (0x80000000)
 

Functions

HRESULT WINAPI CNetworkProvider_fnConstructor (IUnknown *pUnknown, REFIID riid, LPVOID *ppv)
 

Macro Definition Documentation

◆ DEVICE_FILTER_MASK

#define DEVICE_FILTER_MASK   (0x80000000)

Definition at line 11 of file networkprovider.cpp.

Function Documentation

◆ CNetworkProvider_fnConstructor()

HRESULT WINAPI CNetworkProvider_fnConstructor ( IUnknown pUnknown,
REFIID  riid,
LPVOID ppv 
)

Definition at line 552 of file networkprovider.cpp.

556 {
558 
559 #ifdef MSDVBNP_TRACE
561  LPOLESTR lpstr;
563  swprintf(Buffer, L"CNetworkProvider_fnConstructor riid %s pUnknown %p\n", lpstr, pUnknown);
565 #endif
566 
567  if (!handler)
568  return E_OUTOFMEMORY;
569 
570  if (FAILED(handler->QueryInterface(riid, ppv)))
571  {
572  /* not supported */
573  delete handler;
574  return E_NOINTERFACE;
575  }
576  return NOERROR;
577 }
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354
const GUID CLSID_DVBTNetworkProvider
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static LPOLESTR
Definition: stg_prop.c:27
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: bufpool.h:45
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
#define swprintf(buf, format,...)
Definition: sprintf.c:56
static const WCHAR L[]
Definition: oid.c:1250
static LPCSTR lpstr
Definition: font.c:51
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7786
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412