ReactOS 0.4.15-dev-8096-ga0eec98
CTuningSpace Class Reference
Inheritance diagram for CTuningSpace:
Collaboration diagram for CTuningSpace:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
HRESULT STDMETHODCALLTYPE GetTypeInfoCount (UINT *pctinfo)
 
HRESULT STDMETHODCALLTYPE GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
HRESULT STDMETHODCALLTYPE GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
HRESULT STDMETHODCALLTYPE Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
HRESULT STDMETHODCALLTYPE get_UniqueName (BSTR *Name)
 
HRESULT STDMETHODCALLTYPE put_UniqueName (BSTR Name)
 
HRESULT STDMETHODCALLTYPE get_FriendlyName (BSTR *Name)
 
HRESULT STDMETHODCALLTYPE put_FriendlyName (BSTR Name)
 
HRESULT STDMETHODCALLTYPE get_CLSID (BSTR *SpaceCLSID)
 
HRESULT STDMETHODCALLTYPE get_NetworkType (BSTR *NetworkTypeGuid)
 
HRESULT STDMETHODCALLTYPE put_NetworkType (BSTR NetworkTypeGuid)
 
HRESULT STDMETHODCALLTYPE get__NetworkType (GUID *NetworkTypeGuid)
 
HRESULT STDMETHODCALLTYPE put__NetworkType (REFCLSID NetworkTypeGuid)
 
HRESULT STDMETHODCALLTYPE CreateTuneRequest (ITuneRequest **TuneRequest)
 
HRESULT STDMETHODCALLTYPE EnumCategoryGUIDs (IEnumGUID **ppEnum)
 
HRESULT STDMETHODCALLTYPE EnumDeviceMonikers (IEnumMoniker **ppEnum)
 
HRESULT STDMETHODCALLTYPE get_DefaultPreferredComponentTypes (IComponentTypes **ComponentTypes)
 
HRESULT STDMETHODCALLTYPE put_DefaultPreferredComponentTypes (IComponentTypes *NewComponentTypes)
 
HRESULT STDMETHODCALLTYPE get_FrequencyMapping (BSTR *pMapping)
 
HRESULT STDMETHODCALLTYPE put_FrequencyMapping (BSTR Mapping)
 
HRESULT STDMETHODCALLTYPE get_DefaultLocator (ILocator **LocatorVal)
 
HRESULT STDMETHODCALLTYPE put_DefaultLocator (ILocator *LocatorVal)
 
HRESULT STDMETHODCALLTYPE Clone (ITuningSpace **NewTS)
 
HRESULT STDMETHODCALLTYPE get_SystemType (DVBSystemType *SysType)
 
HRESULT STDMETHODCALLTYPE put_SystemType (DVBSystemType SysType)
 
 CTuningSpace ()
 
virtual ~CTuningSpace ()
 
HRESULT get_SystemType ([out] DVBSystemType *SysType)
 
HRESULT put_SystemType ([in] DVBSystemType SysType)
 
HRESULT get_UniqueName ([out] BSTR *Name)
 
HRESULT put_UniqueName ([in] BSTR Name)
 
HRESULT get_FriendlyName ([out] BSTR *Name)
 
HRESULT put_FriendlyName ([in] BSTR Name)
 
HRESULT get_CLSID ([out] BSTR *SpaceCLSID)
 
HRESULT get_NetworkType ([out] BSTR *NetworkTypeGuid)
 
HRESULT put_NetworkType ([in] BSTR NetworkTypeGuid)
 
HRESULT get__NetworkType ([out] GUID *NetworkTypeGuid)
 
HRESULT put__NetworkType ([in] REFCLSID NetworkTypeGuid)
 
HRESULT CreateTuneRequest ([out] ITuneRequest **TuneRequest)
 
HRESULT EnumCategoryGUIDs ([out] IEnumGUID **ppEnum)
 
HRESULT EnumDeviceMonikers ([out] IEnumMoniker **ppEnum)
 
HRESULT get_DefaultPreferredComponentTypes ([out] IComponentTypes **ComponentTypes)
 
HRESULT put_DefaultPreferredComponentTypes ([in] IComponentTypes *NewComponentTypes)
 
HRESULT get_FrequencyMapping ([out] BSTR *pMapping)
 
HRESULT put_FrequencyMapping (BSTR Mapping)
 
HRESULT get_DefaultLocator ([out] ILocator **LocatorVal)
 
HRESULT put_DefaultLocator ([in]ILocator *LocatorVal)
 
HRESULT Clone ([out] ITuningSpace **NewTS)
 
- Public Member Functions inherited from IDispatch
HRESULT GetTypeInfoCount ([out] UINT *pctinfo)
 
HRESULT GetTypeInfo ([in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo **ppTInfo)
 
HRESULT GetIDsOfNames ([in] REFIID riid, [in, size_is(cNames)] LPOLESTR *rgszNames, [in] UINT cNames, [in] LCID lcid, [out, size_is(cNames)] DISPID *rgDispId)
 
HRESULT Invoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] WORD wFlags, [in, out] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *puArgErr)
 
HRESULT RemoteInvoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] DWORD dwFlags, [in] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *pArgErr, [in] UINT cVarRef, [in, size_is(cVarRef)] UINT *rgVarRefIdx, [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Protected Attributes

LONG m_Ref
 

Additional Inherited Members

- Public Types inherited from IDispatch
typedef IDispatchLPDISPATCH
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Attributes inherited from IDispatch
const DISPID DISPID_UNKNOWN = -1
 
const DISPID DISPID_VALUE = 0
 
const DISPID DISPID_PROPERTYPUT = -3
 
const DISPID DISPID_NEWENUM = -4
 
const DISPID DISPID_EVALUATE = -5
 
const DISPID DISPID_CONSTRUCTOR = -6
 
const DISPID DISPID_DESTRUCTOR = -7
 
const DISPID DISPID_COLLECT = -8
 

Detailed Description

Definition at line 13 of file tuningspace.cpp.

Constructor & Destructor Documentation

◆ CTuningSpace()

CTuningSpace::CTuningSpace ( )
inline

Definition at line 70 of file tuningspace.cpp.

70: m_Ref(0){};

◆ ~CTuningSpace()

virtual CTuningSpace::~CTuningSpace ( )
inlinevirtual

Definition at line 72 of file tuningspace.cpp.

72{};

Member Function Documentation

◆ Clone()

HRESULT STDMETHODCALLTYPE CTuningSpace::Clone ( ITuningSpace **  NewTS)

Implements ITuningSpace.

Definition at line 309 of file tuningspace.cpp.

310{
311 OutputDebugStringW(L"CTuningSpace::Clone : NotImplemented\n");
312 return E_NOTIMPL;
313}
#define E_NOTIMPL
Definition: ddrawi.h:99
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
#define L(x)
Definition: ntvdm.h:50

◆ CreateTuneRequest()

HRESULT STDMETHODCALLTYPE CTuningSpace::CreateTuneRequest ( ITuneRequest **  TuneRequest)

Implements ITuningSpace.

Definition at line 237 of file tuningspace.cpp.

238{
239 OutputDebugStringW(L"CTuningSpace::CreateTuneRequest : stub\n");
240 return CTuneRequest_fnConstructor(NULL, (ITuningSpace*)this, IID_ITuneRequest, (void**)TuneRequest);
241}
#define NULL
Definition: types.h:112
HRESULT WINAPI CTuneRequest_fnConstructor(IUnknown *pUnknown, ITuningSpace *TuningSpace, REFIID riid, LPVOID *ppv)

◆ EnumCategoryGUIDs()

HRESULT STDMETHODCALLTYPE CTuningSpace::EnumCategoryGUIDs ( IEnumGUID **  ppEnum)

Implements ITuningSpace.

Definition at line 245 of file tuningspace.cpp.

246{
247 OutputDebugStringW(L"CTuningSpace::EnumCategoryGUIDs : NotImplemented\n");
248 return E_NOTIMPL;
249}

◆ EnumDeviceMonikers()

HRESULT STDMETHODCALLTYPE CTuningSpace::EnumDeviceMonikers ( IEnumMoniker **  ppEnum)

Implements ITuningSpace.

Definition at line 253 of file tuningspace.cpp.

254{
255 OutputDebugStringW(L"CTuningSpace::EnumDeviceMonikers : NotImplemented\n");
256 return E_NOTIMPL;
257}

◆ get__NetworkType()

HRESULT STDMETHODCALLTYPE CTuningSpace::get__NetworkType ( GUID NetworkTypeGuid)

Implements ITuningSpace.

Definition at line 214 of file tuningspace.cpp.

215{
216#ifdef MSVIDCTL_TRACE
217 WCHAR Buffer[100];
218 swprintf(Buffer, L"CTuningSpace::get__NetworkType : %p stub\n", NetworkTypeGuid);
220#endif
221
222 CopyMemory(NetworkTypeGuid, &CLSID_DVBTNetworkProvider, sizeof(GUID));
223 OutputDebugStringW(L"CTuningSpace::get__NetworkType : done\n");
224 return S_OK;
225}
Definition: bufpool.h:45
#define swprintf
Definition: precomp.h:40
#define S_OK
Definition: intsafe.h:52
const GUID CLSID_DVBTNetworkProvider
Definition: tuningspace.cpp:11
#define CopyMemory
Definition: winbase.h:1710
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ get_CLSID()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_CLSID ( BSTR SpaceCLSID)

Implements ITuningSpace.

Definition at line 189 of file tuningspace.cpp.

190{
191 OutputDebugStringW(L"CTuningSpace::get_CLSID : NotImplemented\n");
192 return E_NOTIMPL;
193}

◆ get_DefaultLocator()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_DefaultLocator ( ILocator **  LocatorVal)

Implements ITuningSpace.

Definition at line 293 of file tuningspace.cpp.

294{
295 OutputDebugStringW(L"CTuningSpace::get_DefaultLocator : NotImplemented\n");
296 return E_NOTIMPL;
297}

◆ get_DefaultPreferredComponentTypes()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_DefaultPreferredComponentTypes ( IComponentTypes **  ComponentTypes)

Implements ITuningSpace.

Definition at line 261 of file tuningspace.cpp.

262{
263 OutputDebugStringW(L"CTuningSpace::get_DefaultPreferredComponentTypes : NotImplemented\n");
264 return E_NOTIMPL;
265}

◆ get_FrequencyMapping()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_FrequencyMapping ( BSTR pMapping)

Implements ITuningSpace.

Definition at line 277 of file tuningspace.cpp.

278{
279 OutputDebugStringW(L"CTuningSpace::get_FrequencyMapping : NotImplemented\n");
280 return E_NOTIMPL;
281}

◆ get_FriendlyName()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_FriendlyName ( BSTR Name)

Implements ITuningSpace.

Definition at line 173 of file tuningspace.cpp.

174{
175 OutputDebugStringW(L"CTuningSpace::get_FriendlyName : NotImplemented\n");
176 return E_NOTIMPL;
177}

◆ get_NetworkType()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_NetworkType ( BSTR NetworkTypeGuid)

Implements ITuningSpace.

Definition at line 197 of file tuningspace.cpp.

198{
199 OutputDebugStringW(L"CTuningSpace::get_NetworkType : stub\n");
200 return StringFromCLSID(CLSID_DVBTNetworkProvider, (LPOLESTR*)NetworkTypeGuid);
201
202}
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412
static LPOLESTR
Definition: stg_prop.c:27

◆ get_SystemType()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_SystemType ( DVBSystemType SysType)

Implements IDVBTuningSpace.

Definition at line 320 of file tuningspace.cpp.

321{
322 OutputDebugStringW(L"CTuningSpace::get_SystemType : NotImplemented\n");
323 return E_NOTIMPL;
324}

◆ get_UniqueName()

HRESULT STDMETHODCALLTYPE CTuningSpace::get_UniqueName ( BSTR Name)

Implements ITuningSpace.

Definition at line 157 of file tuningspace.cpp.

158{
159 OutputDebugStringW(L"CTuningSpace::get_UniqueName : NotImplemented\n");
160 return E_NOTIMPL;
161}

◆ GetIDsOfNames()

HRESULT STDMETHODCALLTYPE CTuningSpace::GetIDsOfNames ( REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)

Implements IDispatch.

Definition at line 137 of file tuningspace.cpp.

138{
139 OutputDebugStringW(L"CTuningSpace::GetIDsOfNames : NotImplemented\n");
140 return E_NOTIMPL;
141}

◆ GetTypeInfo()

HRESULT STDMETHODCALLTYPE CTuningSpace::GetTypeInfo ( UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)

Implements IDispatch.

Definition at line 130 of file tuningspace.cpp.

131{
132 OutputDebugStringW(L"CTuningSpace::GetTypeInfo : NotImplemented\n");
133 return E_NOTIMPL;
134}

◆ GetTypeInfoCount()

HRESULT STDMETHODCALLTYPE CTuningSpace::GetTypeInfoCount ( UINT pctinfo)

Implements IDispatch.

Definition at line 122 of file tuningspace.cpp.

123{
124 OutputDebugStringW(L"CTuningSpace::GetTypeInfoCount : NotImplemented\n");
125 return E_NOTIMPL;
126}

◆ Invoke()

HRESULT STDMETHODCALLTYPE CTuningSpace::Invoke ( DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)

Implements IDispatch.

Definition at line 144 of file tuningspace.cpp.

145{
146 OutputDebugStringW(L"CTuningSpace::Invoke : NotImplemented\n");
147 return E_NOTIMPL;
148}

◆ put__NetworkType()

HRESULT STDMETHODCALLTYPE CTuningSpace::put__NetworkType ( REFCLSID  NetworkTypeGuid)

Implements ITuningSpace.

Definition at line 229 of file tuningspace.cpp.

230{
231 OutputDebugStringW(L"CTuningSpace::put__NetworkType : NotImplemented\n");
232 return E_NOTIMPL;
233}

◆ put_DefaultLocator()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_DefaultLocator ( ILocator LocatorVal)

Implements ITuningSpace.

Definition at line 301 of file tuningspace.cpp.

302{
303 OutputDebugStringW(L"CTuningSpace::put_DefaultLocator : NotImplemented\n");
304 return E_NOTIMPL;
305}

◆ put_DefaultPreferredComponentTypes()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_DefaultPreferredComponentTypes ( IComponentTypes NewComponentTypes)

Implements ITuningSpace.

Definition at line 269 of file tuningspace.cpp.

270{
271 OutputDebugStringW(L"CTuningSpace::put_DefaultPreferredComponentTypes : NotImplemented\n");
272 return E_NOTIMPL;
273}

◆ put_FrequencyMapping()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_FrequencyMapping ( BSTR  Mapping)

Implements ITuningSpace.

Definition at line 285 of file tuningspace.cpp.

286{
287 OutputDebugStringW(L"CTuningSpace::put_FrequencyMapping : NotImplemented\n");
288 return E_NOTIMPL;
289}

◆ put_FriendlyName()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_FriendlyName ( BSTR  Name)

Implements ITuningSpace.

Definition at line 181 of file tuningspace.cpp.

182{
183 OutputDebugStringW(L"CTuningSpace::put_FriendlyName : NotImplemented\n");
184 return E_NOTIMPL;
185}

◆ put_NetworkType()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_NetworkType ( BSTR  NetworkTypeGuid)

Implements ITuningSpace.

Definition at line 206 of file tuningspace.cpp.

207{
208 OutputDebugStringW(L"CTuningSpace::put_NetworkType : NotImplemented\n");
209 return E_NOTIMPL;
210}

◆ put_SystemType()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_SystemType ( DVBSystemType  SysType)

Implements IDVBTuningSpace.

Definition at line 328 of file tuningspace.cpp.

329{
330 OutputDebugStringW(L"CTuningSpace::put_SystemType : NotImplemented\n");
331 return E_NOTIMPL;
332}

◆ put_UniqueName()

HRESULT STDMETHODCALLTYPE CTuningSpace::put_UniqueName ( BSTR  Name)

Implements ITuningSpace.

Definition at line 165 of file tuningspace.cpp.

166{
167 OutputDebugStringW(L"CTuningSpace::put_UniqueName : NotImplemented\n");
168 return E_NOTIMPL;
169}

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE CTuningSpace::QueryInterface ( REFIID  InterfaceId,
PVOID Interface 
)

Definition at line 80 of file tuningspace.cpp.

83{
84 if (IsEqualGUID(refiid, IID_IUnknown))
85 {
86 *Output = PVOID(this);
87 reinterpret_cast<IUnknown*>(*Output)->AddRef();
88 return NOERROR;
89 }
90
91 if (IsEqualGUID(refiid, IID_ITuningSpace))
92 {
93 *Output = (ITuningSpace*)this;
94 reinterpret_cast<ITuningSpace*>(*Output)->AddRef();
95 return NOERROR;
96 }
97
98 if (IsEqualGUID(refiid, IID_IDVBTuningSpace))
99 {
100 *Output = (IDVBTuningSpace*)this;
101 reinterpret_cast<IDVBTuningSpace*>(*Output)->AddRef();
102 return NOERROR;
103 }
104
105
108 StringFromCLSID(refiid, &lpstr);
109 swprintf(Buffer, L"CTuningSpace::QueryInterface: NoInterface for %s", lpstr);
112
113
114 return E_NOINTERFACE;
115}
const GUID IID_IUnknown
#define MAX_PATH
Definition: compat.h:34
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
ULONG AddRef()
static LPCSTR lpstr
Definition: font.c:51
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
@ Output
Definition: arc.h:85
void * PVOID
Definition: typedefs.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354

◆ STDMETHODIMP_() [1/2]

CTuningSpace::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 18 of file tuningspace.cpp.

19 {
21 return m_Ref;
22 }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CTuningSpace::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 23 of file tuningspace.cpp.

24 {
26
27 WCHAR Buffer[100];
28 swprintf(Buffer, L"CTuningSpace::Release : %p Ref %lu\n", this, m_Ref);
30
31 if (!m_Ref)
32 {
33 //delete this;
34 return 0;
35 }
36 return m_Ref;
37 }
#define InterlockedDecrement
Definition: armddk.h:52

Member Data Documentation

◆ m_Ref

LONG CTuningSpace::m_Ref
protected

Definition at line 75 of file tuningspace.cpp.

Referenced by STDMETHODIMP_().


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