ReactOS  0.4.15-dev-3718-g2318f7f
CControlNode Class Reference
Inheritance diagram for CControlNode:
Collaboration diagram for CControlNode:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
 CControlNode (IKsPropertySet *pProperty, ULONG NodeType, ULONG PinId)
 
virtual ~CControlNode ()
 
- 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
 
IKsPropertySetm_pKsProperty
 
ULONG m_NodeType
 
ULONG m_PinId
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 16 of file controlnode.cpp.

Constructor & Destructor Documentation

◆ CControlNode()

CControlNode::CControlNode ( IKsPropertySet pProperty,
ULONG  NodeType,
ULONG  PinId 
)
inline

Definition at line 37 of file controlnode.cpp.

NodeType
Definition: Node.h:5
_Must_inspect_result_ _In_ KSP_BDA_NODE_PIN * pProperty
Definition: bdasup.h:156
IKsPropertySet * m_pKsProperty
Definition: controlnode.cpp:42
ULONG m_NodeType
Definition: controlnode.cpp:43

◆ ~CControlNode()

virtual CControlNode::~CControlNode ( )
inlinevirtual

Definition at line 38 of file controlnode.cpp.

38 {};

Member Function Documentation

◆ QueryInterface()

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

Definition at line 49 of file controlnode.cpp.

52 {
53  *Output = NULL;
54 
55  if (IsEqualGUID(refiid, IID_IUnknown))
56  {
57  *Output = PVOID(this);
58  reinterpret_cast<IUnknown*>(*Output)->AddRef();
59  return NOERROR;
60  }
61  else if(IsEqualGUID(refiid, IID_IBDA_FrequencyFilter))
62  {
64  }
65  else if(IsEqualGUID(refiid, IID_IBDA_SignalStatistics))
66  {
68  }
69  else if(IsEqualGUID(refiid, IID_IBDA_LNBInfo))
70  {
72  }
74  {
76  }
77 #ifdef BDAPLGIN_TRACE
80  StringFromCLSID(refiid, &lpstr);
81  swprintf(Buffer, L"CControlNode::QueryInterface: NoInterface for %s", lpstr);
84 #endif
85 
86  return E_NOINTERFACE;
87 }
HRESULT WINAPI CBDASignalStatistics_fnConstructor(IKsPropertySet *pProperty, ULONG NodeId, REFIID riid, LPVOID *ppv)
#define E_NOINTERFACE
Definition: winerror.h:2364
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
HRESULT WINAPI CBDAFrequencyFilter_fnConstructor(IKsPropertySet *pProperty, ULONG NodeId, REFIID riid, LPVOID *ppv)
#define NOERROR
Definition: winerror.h:2354
#define swprintf
Definition: precomp.h:40
static LPOLESTR
Definition: stg_prop.c:27
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
#define L(x)
Definition: ntvdm.h:50
Definition: bufpool.h:45
void * PVOID
Definition: retypes.h:9
HRESULT WINAPI CBDALNBInfo_fnConstructor(IKsPropertySet *pProperty, ULONG NodeId, REFIID riid, LPVOID *ppv)
Definition: lnbinfo.cpp:181
const GUID IID_IBDA_DigitalDemodulator
Definition: digitaldemo.cpp:13
__wchar_t WCHAR
Definition: xmlstorage.h:180
const GUID IID_IUnknown
#define MAX_PATH
Definition: compat.h:34
Definition: arc.h:85
const GUID IID_IBDA_LNBInfo
Definition: lnbinfo.cpp:13
const GUID IID_IBDA_FrequencyFilter
const GUID IID_IBDA_SignalStatistics
HRESULT WINAPI CBDADigitalDemodulator_fnConstructor(IKsPropertySet *pProperty, ULONG NodeId, REFIID riid, LPVOID *ppv)
#define NULL
Definition: types.h:112
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4112
IKsPropertySet * m_pKsProperty
Definition: controlnode.cpp:42
ULONG m_NodeType
Definition: controlnode.cpp:43
static LPCSTR lpstr
Definition: font.c:51
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412

◆ STDMETHODIMP_() [1/2]

CControlNode::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 21 of file controlnode.cpp.

22  {
24  return m_Ref;
25  }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CControlNode::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 26 of file controlnode.cpp.

27  {
29  if (!m_Ref)
30  {
31  delete this;
32  return 0;
33  }
34  return m_Ref;
35  }
#define InterlockedDecrement
Definition: armddk.h:52

Member Data Documentation

◆ m_NodeType

ULONG CControlNode::m_NodeType
protected

Definition at line 43 of file controlnode.cpp.

Referenced by QueryInterface().

◆ m_PinId

ULONG CControlNode::m_PinId
protected

Definition at line 44 of file controlnode.cpp.

◆ m_pKsProperty

IKsPropertySet* CControlNode::m_pKsProperty
protected

Definition at line 42 of file controlnode.cpp.

Referenced by QueryInterface().

◆ m_Ref

LONG CControlNode::m_Ref
protected

Definition at line 38 of file controlnode.cpp.

Referenced by STDMETHODIMP_().


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