ReactOS 0.4.16-dev-329-g9223134
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
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}
Definition: bufpool.h:45
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
const GUID CLSID_DVBTNetworkProvider
#define MAX_PATH
Definition: compat.h:34
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7512
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412
#define swprintf
Definition: precomp.h:40
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
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