ReactOS 0.4.15-dev-8344-g0574987
CKsBasicAudio Class Reference
Inheritance diagram for CKsBasicAudio:
Collaboration diagram for CKsBasicAudio:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
HRESULT STDMETHODCALLTYPE Stop ()
 
HRESULT STDMETHODCALLTYPE Pause ()
 
HRESULT STDMETHODCALLTYPE Run (REFERENCE_TIME tStart)
 
HRESULT STDMETHODCALLTYPE SetSyncSource (IReferenceClock *pClock)
 
HRESULT STDMETHODCALLTYPE NotifyGraphChange ()
 
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 put_Volume (long lVolume)
 
HRESULT STDMETHODCALLTYPE get_Volume (long *plVolume)
 
HRESULT STDMETHODCALLTYPE put_Balance (long lBalance)
 
HRESULT STDMETHODCALLTYPE get_Balance (long *plBalance)
 
 CKsBasicAudio ()
 
virtual ~CKsBasicAudio ()
 
HRESULT Stop (void)
 
HRESULT Pause (void)
 
HRESULT Run (REFERENCE_TIME tStart)
 
HRESULT SetSyncSource ([in] IReferenceClock *pClock)
 
HRESULT NotifyGraphChange (void)
 
- 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 IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 11 of file basicaudio.cpp.

Constructor & Destructor Documentation

◆ CKsBasicAudio()

CKsBasicAudio::CKsBasicAudio ( )
inline

Definition at line 55 of file basicaudio.cpp.

55: m_Ref(0){}

◆ ~CKsBasicAudio()

virtual CKsBasicAudio::~CKsBasicAudio ( )
inlinevirtual

Definition at line 56 of file basicaudio.cpp.

56{}

Member Function Documentation

◆ get_Balance()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::get_Balance ( long plBalance)

Definition at line 260 of file basicaudio.cpp.

262{
263#ifdef KSPROXY_TRACE
264 OutputDebugStringW(L"UNIMPLEMENTED\n");
265#endif
266
267 return E_NOTIMPL;
268}
#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

◆ get_Volume()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::get_Volume ( long plVolume)

Definition at line 234 of file basicaudio.cpp.

236{
237#ifdef KSPROXY_TRACE
238 OutputDebugStringW(L"UNIMPLEMENTED\n");
239#endif
240
241 return E_NOTIMPL;
242}

◆ GetIDsOfNames()

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

Definition at line 182 of file basicaudio.cpp.

188{
189#ifdef KSPROXY_TRACE
190 OutputDebugStringW(L"UNIMPLEMENTED\n");
191#endif
192
193 return E_NOTIMPL;
194}

◆ GetTypeInfo()

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

Definition at line 169 of file basicaudio.cpp.

173{
174#ifdef KSPROXY_TRACE
175 OutputDebugStringW(L"UNIMPLEMENTED\n");
176#endif
177 return E_NOTIMPL;
178}

◆ GetTypeInfoCount()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::GetTypeInfoCount ( UINT pctinfo)

Definition at line 157 of file basicaudio.cpp.

159{
160#ifdef KSPROXY_TRACE
161 OutputDebugStringW(L"UNIMPLEMENTED\n");
162#endif
163
164 return E_NOTIMPL;
165}

◆ Invoke()

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

Definition at line 198 of file basicaudio.cpp.

207{
208#ifdef KSPROXY_TRACE
209 OutputDebugStringW(L"UNIMPLEMENTED\n");
210#endif
211
212 return E_NOTIMPL;
213}

◆ NotifyGraphChange()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::NotifyGraphChange ( void  )

Implements IDistributorNotify.

Definition at line 142 of file basicaudio.cpp.

143{
144#ifdef KSPROXY_TRACE
145 OutputDebugStringW(L"UNIMPLEMENTED\n");
146#endif
147
148 return E_NOTIMPL;
149}

◆ Pause()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::Pause ( void  )

Implements IDistributorNotify.

Definition at line 108 of file basicaudio.cpp.

109{
110#ifdef KSPROXY_TRACE
111 OutputDebugStringW(L"UNIMPLEMENTED\n");
112#endif
113
114 return E_NOTIMPL;
115}

◆ put_Balance()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::put_Balance ( long  lBalance)

Definition at line 247 of file basicaudio.cpp.

249{
250#ifdef KSPROXY_TRACE
251 OutputDebugStringW(L"UNIMPLEMENTED\n");
252#endif
253
254 return E_NOTIMPL;
255}

◆ put_Volume()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::put_Volume ( long  lVolume)

Definition at line 221 of file basicaudio.cpp.

223{
224#ifdef KSPROXY_TRACE
225 OutputDebugStringW(L"UNIMPLEMENTED\n");
226#endif
227
228 return E_NOTIMPL;
229}

◆ QueryInterface()

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

Definition at line 64 of file basicaudio.cpp.

67{
68 if (IsEqualGUID(refiid, IID_IUnknown))
69 {
70 *Output = PVOID(this);
71 reinterpret_cast<IUnknown*>(*Output)->AddRef();
72 return NOERROR;
73 }
75 {
76 *Output = (IDistributorNotify*)(this);
77 reinterpret_cast<IDistributorNotify*>(*Output)->AddRef();
78 return NOERROR;
79 }
80
81 if (IsEqualGUID(refiid, IID_IBasicAudio))
82 {
83 *Output = (IBasicAudio*)(this);
84 reinterpret_cast<IBasicAudio*>(*Output)->AddRef();
85 return NOERROR;
86 }
87
88 return E_NOINTERFACE;
89}
const GUID IID_IUnknown
const GUID IID_IDistributorNotify
ULONG AddRef()
#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

◆ Run()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::Run ( REFERENCE_TIME  tStart)

Implements IDistributorNotify.

Definition at line 119 of file basicaudio.cpp.

121{
122#ifdef KSPROXY_TRACE
123 OutputDebugStringW(L"UNIMPLEMENTED\n");
124#endif
125
126 return E_NOTIMPL;
127}

◆ SetSyncSource()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::SetSyncSource ( IReferenceClock pClock)

Implements IDistributorNotify.

Definition at line 131 of file basicaudio.cpp.

133{
134#ifdef KSPROXY_TRACE
135 OutputDebugStringW(L"UNIMPLEMENTED\n");
136#endif
137 return E_NOTIMPL;
138}

◆ STDMETHODIMP_() [1/2]

CKsBasicAudio::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 17 of file basicaudio.cpp.

18 {
20 return m_Ref;
21 }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CKsBasicAudio::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 22 of file basicaudio.cpp.

23 {
25
26 if (!m_Ref)
27 {
28 delete this;
29 return 0;
30 }
31 return m_Ref;
32 }
#define InterlockedDecrement
Definition: armddk.h:52

◆ Stop()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::Stop ( void  )

Implements IDistributorNotify.

Definition at line 98 of file basicaudio.cpp.

99{
100#ifdef KSPROXY_TRACE
101 OutputDebugStringW(L"UNIMPLEMENTED\n");
102#endif
103 return E_NOTIMPL;
104}

Member Data Documentation

◆ m_Ref

LONG CKsBasicAudio::m_Ref
protected

Definition at line 59 of file basicaudio.cpp.

Referenced by STDMETHODIMP_().


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