ReactOS  0.4.14-dev-317-g96040ec
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 ()
 

Protected Attributes

LONG m_Ref
 

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ NotifyGraphChange()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::NotifyGraphChange ( )

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Pause()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::Pause ( )

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354
void * PVOID
Definition: retypes.h:9
const GUID IID_IUnknown
Definition: arc.h:85
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4112
const GUID IID_IDistributorNotify

◆ Run()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::Run ( REFERENCE_TIME  tStart)

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ SetSyncSource()

HRESULT STDMETHODCALLTYPE CKsBasicAudio::SetSyncSource ( IReferenceClock pClock)

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 ( )

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

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: