ReactOS  0.4.14-dev-98-gb0d4763
CBDAFrequencyFilter Class Reference
Inheritance diagram for CBDAFrequencyFilter:
Collaboration diagram for CBDAFrequencyFilter:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
HRESULT STDMETHODCALLTYPE put_Autotune (ULONG ulTransponder)
 
HRESULT STDMETHODCALLTYPE get_Autotune (ULONG *pulTransponder)
 
HRESULT STDMETHODCALLTYPE put_Frequency (ULONG ulFrequency)
 
HRESULT STDMETHODCALLTYPE get_Frequency (ULONG *pulFrequency)
 
HRESULT STDMETHODCALLTYPE put_Polarity (Polarisation Polarity)
 
HRESULT STDMETHODCALLTYPE get_Polarity (Polarisation *pPolarity)
 
HRESULT STDMETHODCALLTYPE put_Range (ULONG ulRange)
 
HRESULT STDMETHODCALLTYPE get_Range (ULONG *pulRange)
 
HRESULT STDMETHODCALLTYPE put_Bandwidth (ULONG ulBandwidth)
 
HRESULT STDMETHODCALLTYPE get_Bandwidth (ULONG *pulBandwidth)
 
HRESULT STDMETHODCALLTYPE put_FrequencyMultiplier (ULONG ulMultiplier)
 
HRESULT STDMETHODCALLTYPE get_FrequencyMultiplier (ULONG *pulMultiplier)
 
 CBDAFrequencyFilter (IKsPropertySet *pProperty, ULONG NodeId)
 
virtual ~CBDAFrequencyFilter ()
 
- 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_pProperty
 
ULONG m_NodeId
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 17 of file frequencyfilter.cpp.

Constructor & Destructor Documentation

◆ CBDAFrequencyFilter()

CBDAFrequencyFilter::CBDAFrequencyFilter ( IKsPropertySet pProperty,
ULONG  NodeId 
)
inline

Definition at line 51 of file frequencyfilter.cpp.

51 : m_Ref(0), m_pProperty(pProperty), m_NodeId(NodeId){};
_Must_inspect_result_ _In_ KSP_BDA_NODE_PIN * pProperty
Definition: bdasup.h:156
IKsPropertySet * m_pProperty

◆ ~CBDAFrequencyFilter()

virtual CBDAFrequencyFilter::~CBDAFrequencyFilter ( )
inlinevirtual

Definition at line 52 of file frequencyfilter.cpp.

52 {};

Member Function Documentation

◆ get_Autotune()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::get_Autotune ( ULONG pulTransponder)

Implements IBDA_FrequencyFilter.

Definition at line 104 of file frequencyfilter.cpp.

105 {
106  return E_NOINTERFACE;
107 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ get_Bandwidth()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::get_Bandwidth ( ULONG pulBandwidth)

Implements IBDA_FrequencyFilter.

Definition at line 224 of file frequencyfilter.cpp.

225 {
226  return E_NOINTERFACE;
227 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ get_Frequency()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::get_Frequency ( ULONG pulFrequency)

Implements IBDA_FrequencyFilter.

Definition at line 134 of file frequencyfilter.cpp.

135 {
136  return E_NOINTERFACE;
137 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ get_FrequencyMultiplier()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::get_FrequencyMultiplier ( ULONG pulMultiplier)

Implements IBDA_FrequencyFilter.

Definition at line 253 of file frequencyfilter.cpp.

254 {
255  return E_NOINTERFACE;
256 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ get_Polarity()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::get_Polarity ( Polarisation pPolarity)

Implements IBDA_FrequencyFilter.

Definition at line 164 of file frequencyfilter.cpp.

165 {
166  return E_NOINTERFACE;
167 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ get_Range()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::get_Range ( ULONG pulRange)

Implements IBDA_FrequencyFilter.

Definition at line 194 of file frequencyfilter.cpp.

195 {
196  return E_NOINTERFACE;
197 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ put_Autotune()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::put_Autotune ( ULONG  ulTransponder)

Implements IBDA_FrequencyFilter.

Definition at line 97 of file frequencyfilter.cpp.

98 {
99  return E_NOINTERFACE;
100 }
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ put_Bandwidth()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::put_Bandwidth ( ULONG  ulBandwidth)

Implements IBDA_FrequencyFilter.

Definition at line 201 of file frequencyfilter.cpp.

202 {
203  KSP_NODE Node;
204  HRESULT hr;
205 
206  // setup request
207  Node.NodeId = m_NodeId;
208  Node.Reserved = 0;
209 
210  // perform request
212 
213 #ifdef BDAPLGIN_TRACE
214  WCHAR Buffer[100];
215  swprintf(Buffer, L"CBDAFrequencyFilter::put_Bandwidth: m_NodeId %lu ulBandwidth %lu hr %lx\n", m_NodeId, ulBandwidth, hr);
217 #endif
218 
219  return hr;
220 }
HRESULT hr
Definition: shlfolder.c:183
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
union node Node
Definition: types.h:1255
Definition: ks.h:2074
Definition: bufpool.h:45
const GUID KSPROPSETID_BdaFrequencyFilter
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define swprintf(buf, format,...)
Definition: sprintf.c:56
IKsPropertySet * m_pProperty
static const WCHAR L[]
Definition: oid.c:1250
HRESULT Set([in] REFGUID guidPropSet, [in] DWORD dwPropID, [in, size_is(cbInstanceData)] LPVOID pInstanceData, [in] DWORD cbInstanceData, [in, size_is(cbPropData)] LPVOID pPropData, [in] DWORD cbPropData)
unsigned int ULONG
Definition: retypes.h:1
Definition: dlist.c:348

◆ put_Frequency()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::put_Frequency ( ULONG  ulFrequency)

Implements IBDA_FrequencyFilter.

Definition at line 111 of file frequencyfilter.cpp.

112 {
113  KSP_NODE Node;
114  HRESULT hr;
115 
116  // setup request
117  Node.NodeId = m_NodeId;
118  Node.Reserved = 0;
119 
120  // perform request
122 
123 #ifdef BDAPLGIN_TRACE
124  WCHAR Buffer[100];
125  swprintf(Buffer, L"CBDAFrequencyFilter::put_Frequency: m_NodeId %lu ulFrequency %lu hr %lx\n", m_NodeId, ulFrequency, hr);
127 #endif
128 
129  return hr;
130 }
HRESULT hr
Definition: shlfolder.c:183
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
union node Node
Definition: types.h:1255
Definition: ks.h:2074
Definition: bufpool.h:45
const GUID KSPROPSETID_BdaFrequencyFilter
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define swprintf(buf, format,...)
Definition: sprintf.c:56
IKsPropertySet * m_pProperty
static const WCHAR L[]
Definition: oid.c:1250
HRESULT Set([in] REFGUID guidPropSet, [in] DWORD dwPropID, [in, size_is(cbInstanceData)] LPVOID pInstanceData, [in] DWORD cbInstanceData, [in, size_is(cbPropData)] LPVOID pPropData, [in] DWORD cbPropData)
unsigned int ULONG
Definition: retypes.h:1
Definition: dlist.c:348

◆ put_FrequencyMultiplier()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::put_FrequencyMultiplier ( ULONG  ulMultiplier)

Implements IBDA_FrequencyFilter.

Definition at line 230 of file frequencyfilter.cpp.

231 {
232  KSP_NODE Node;
233  HRESULT hr;
234 
235  // setup request
236  Node.NodeId = m_NodeId;
237  Node.Reserved = 0;
238 
239  // perform request
241 
242 #ifdef BDAPLGIN_TRACE
243  WCHAR Buffer[100];
244  swprintf(Buffer, L"CBDAFrequencyFilter::put_FrequencyMultiplier: m_NodeId %lu ulMultiplier %lu hr %lx\n", m_NodeId, ulMultiplier, hr);
246 #endif
247 
248  return hr;
249 }
HRESULT hr
Definition: shlfolder.c:183
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
union node Node
Definition: types.h:1255
Definition: ks.h:2074
Definition: bufpool.h:45
const GUID KSPROPSETID_BdaFrequencyFilter
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define swprintf(buf, format,...)
Definition: sprintf.c:56
IKsPropertySet * m_pProperty
static const WCHAR L[]
Definition: oid.c:1250
HRESULT Set([in] REFGUID guidPropSet, [in] DWORD dwPropID, [in, size_is(cbInstanceData)] LPVOID pInstanceData, [in] DWORD cbInstanceData, [in, size_is(cbPropData)] LPVOID pPropData, [in] DWORD cbPropData)
unsigned int ULONG
Definition: retypes.h:1
Definition: dlist.c:348

◆ put_Polarity()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::put_Polarity ( Polarisation  Polarity)

Implements IBDA_FrequencyFilter.

Definition at line 141 of file frequencyfilter.cpp.

142 {
143  KSP_NODE Node;
144  HRESULT hr;
145 
146  // setup request
147  Node.NodeId = m_NodeId;
148  Node.Reserved = 0;
149 
150  // perform request
152 
153 #ifdef BDAPLGIN_TRACE
154  WCHAR Buffer[100];
155  swprintf(Buffer, L"CBDAFrequencyFilter::put_Polarity: m_NodeId %lu Polarity %lu hr %lx\n", m_NodeId, Polarity, hr);
157 #endif
158 
159  return hr;
160 }
HRESULT hr
Definition: shlfolder.c:183
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
Polarisation
Definition: bdatypes.h:301
union node Node
Definition: types.h:1255
Definition: ks.h:2074
Definition: bufpool.h:45
const GUID KSPROPSETID_BdaFrequencyFilter
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define swprintf(buf, format,...)
Definition: sprintf.c:56
IKsPropertySet * m_pProperty
static const WCHAR L[]
Definition: oid.c:1250
HRESULT Set([in] REFGUID guidPropSet, [in] DWORD dwPropID, [in, size_is(cbInstanceData)] LPVOID pInstanceData, [in] DWORD cbInstanceData, [in, size_is(cbPropData)] LPVOID pPropData, [in] DWORD cbPropData)
Definition: dlist.c:348

◆ put_Range()

HRESULT STDMETHODCALLTYPE CBDAFrequencyFilter::put_Range ( ULONG  ulRange)

Implements IBDA_FrequencyFilter.

Definition at line 171 of file frequencyfilter.cpp.

172 {
173  KSP_NODE Node;
174  HRESULT hr;
175 
176  // setup request
177  Node.NodeId = m_NodeId;
178  Node.Reserved = 0;
179 
180  // perform request
182 
183 #ifdef BDAPLGIN_TRACE
184  WCHAR Buffer[100];
185  swprintf(Buffer, L"CBDAFrequencyFilter::put_Range: m_NodeId %lu ulRange %lu hr %lx\n", m_NodeId, ulRange, hr);
187 #endif
188 
189  return hr;
190 }
HRESULT hr
Definition: shlfolder.c:183
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
union node Node
Definition: types.h:1255
Definition: ks.h:2074
Definition: bufpool.h:45
const GUID KSPROPSETID_BdaFrequencyFilter
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define swprintf(buf, format,...)
Definition: sprintf.c:56
IKsPropertySet * m_pProperty
static const WCHAR L[]
Definition: oid.c:1250
HRESULT Set([in] REFGUID guidPropSet, [in] DWORD dwPropID, [in, size_is(cbInstanceData)] LPVOID pInstanceData, [in] DWORD cbInstanceData, [in, size_is(cbPropData)] LPVOID pPropData, [in] DWORD cbPropData)
unsigned int ULONG
Definition: retypes.h:1
Definition: dlist.c:348

◆ QueryInterface()

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

Definition at line 62 of file frequencyfilter.cpp.

65 {
66  *Output = NULL;
67 
68  if (IsEqualGUID(refiid, IID_IUnknown))
69  {
70  *Output = PVOID(this);
71  reinterpret_cast<IUnknown*>(*Output)->AddRef();
72  return NOERROR;
73  }
74 
76  {
77  *Output = (IBDA_FrequencyFilter*)(this);
78  reinterpret_cast<IBDA_FrequencyFilter*>(*Output)->AddRef();
79  return NOERROR;
80  }
81 
82 #ifdef BDAPLGIN_TRACE
85  StringFromCLSID(refiid, &lpstr);
86  swprintf(Buffer, L"CControlNode::QueryInterface: NoInterface for %s", lpstr);
89 DebugBreak();
90 #endif
91 
92  return E_NOINTERFACE;
93 }
#define E_NOINTERFACE
Definition: winerror.h:2364
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:422
#define NOERROR
Definition: winerror.h:2354
static LPOLESTR
Definition: stg_prop.c:27
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
void WINAPI DebugBreak(void)
smooth NULL
Definition: ftsmooth.c:416
Definition: bufpool.h:45
void * PVOID
Definition: retypes.h:9
__wchar_t WCHAR
Definition: xmlstorage.h:180
const GUID IID_IUnknown
#define MAX_PATH
Definition: compat.h:26
#define swprintf(buf, format,...)
Definition: sprintf.c:56
static const WCHAR L[]
Definition: oid.c:1250
Definition: arc.h:85
const GUID IID_IBDA_FrequencyFilter
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
static LPCSTR lpstr
Definition: font.c:51
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2321

◆ STDMETHODIMP_() [1/2]

CBDAFrequencyFilter::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 22 of file frequencyfilter.cpp.

23  {
25  return m_Ref;
26  }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CBDAFrequencyFilter::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 27 of file frequencyfilter.cpp.

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

Member Data Documentation

◆ m_NodeId

ULONG CBDAFrequencyFilter::m_NodeId
protected

◆ m_pProperty

IKsPropertySet* CBDAFrequencyFilter::m_pProperty
protected

◆ m_Ref

LONG CBDAFrequencyFilter::m_Ref
protected

Definition at line 52 of file frequencyfilter.cpp.

Referenced by STDMETHODIMP_().


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