71 *
ppv = &
This->filter.IBaseFilter_iface;
74 *
ppv = &
This->filter.IBaseFilter_iface;
77 *
ppv = &
This->filter.IBaseFilter_iface;
80 *
ppv = &
This->filter.IBaseFilter_iface;
82 TRACE(
"(%p)->(IID_IPersistPropertyBag, %p)\n",
This,
ppv);
83 *
ppv = &
This->IPersistPropertyBag_iface;
119 return IUnknown_QueryInterface(
This->outerUnknown,
riid,
ppv);
125 return IUnknown_AddRef(
This->outerUnknown);
131 return IUnknown_Release(
This->outerUnknown);
202 return IUnknown_QueryInterface(
This->outerUnknown,
riid,
ppv);
208 return IUnknown_AddRef(
This->outerUnknown);
214 return IUnknown_Release(
This->outerUnknown);
220 TRACE(
"(%p/%p)->(%p)\n", iface,
This, pClassID);
221 return IBaseFilter_GetClassID(&
This->filter.IBaseFilter_iface, pClassID);
227 FIXME(
"(%p/%p)->(): stub\n", iface,
This);
237 static const WCHAR WaveInIDW[] = {
'W',
'a',
'v',
'e',
'I',
'n',
'I',
'D',0};
239 TRACE(
"(%p/%p)->(%p, %p)\n", iface,
This, pPropBag, pErrorLog);
242 hr = IPropertyBag_Read(pPropBag, WaveInIDW, &
var, pErrorLog);
245 FIXME(
"FIXME: implement opening waveIn device %d\n",
V_I4(&
var));
252 BOOL fClearDirty,
BOOL fSaveAllProperties)
255 FIXME(
"(%p/%p)->(%p, %u, %u): stub\n", iface,
This, pPropBag, fClearDirty, fSaveAllProperties);
275 FIXME(
"(%p, %p): the entire CLSID_AudioRecord implementation is just stubs\n", outer, phr);
286 This->outerUnknown = outer;
288 This->outerUnknown = &
This->IUnknown_iface;
299 IBaseFilter_Release(&
This->filter.IBaseFilter_iface);
IUnknown *WINAPI QCAP_createAudioCaptureFilter(IUnknown *outer, HRESULT *phr)
static HRESULT WINAPI AudioRecord_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
static HRESULT WINAPI PPB_InitNew(IPersistPropertyBag *iface)
static ULONG WINAPI AudioRecord_AddRef(IBaseFilter *iface)
static AudioRecord * impl_from_IUnknown(IUnknown *iface)
static LONG WINAPI AudioRecord_GetPinCount(BaseFilter *iface)
static HRESULT WINAPI PPB_GetClassID(IPersistPropertyBag *iface, CLSID *pClassID)
static HRESULT WINAPI PPB_Load(IPersistPropertyBag *iface, IPropertyBag *pPropBag, IErrorLog *pErrorLog)
static ULONG WINAPI Unknown_AddRef(IUnknown *iface)
static const IUnknownVtbl UnknownVtbl
static ULONG WINAPI PPB_AddRef(IPersistPropertyBag *iface)
static HRESULT WINAPI AudioRecord_FindPin(IBaseFilter *iface, LPCWSTR Id, IPin **ppPin)
static ULONG WINAPI PPB_Release(IPersistPropertyBag *iface)
static const BaseFilterFuncTable AudioRecordFuncs
static IPin *WINAPI AudioRecord_GetPin(BaseFilter *iface, int pos)
static AudioRecord * impl_from_IPersistPropertyBag(IPersistPropertyBag *iface)
static HRESULT WINAPI PPB_Save(IPersistPropertyBag *iface, IPropertyBag *pPropBag, BOOL fClearDirty, BOOL fSaveAllProperties)
static AudioRecord * impl_from_BaseFilter(BaseFilter *filter)
static const IBaseFilterVtbl AudioRecordVtbl
static HRESULT WINAPI PPB_QueryInterface(IPersistPropertyBag *iface, REFIID riid, LPVOID *ppv)
static const IPersistPropertyBagVtbl PersistPropertyBagVtbl
static HRESULT WINAPI Unknown_QueryInterface(IUnknown *iface, REFIID riid, LPVOID *ppv)
static AudioRecord * impl_from_IBaseFilter(IBaseFilter *iface)
static ULONG WINAPI AudioRecord_Release(IBaseFilter *iface)
static HRESULT WINAPI AudioRecord_Pause(IBaseFilter *iface)
static HRESULT WINAPI AudioRecord_QueryInterface(IBaseFilter *iface, REFIID riid, void **ppv)
static ULONG WINAPI Unknown_Release(IUnknown *iface)
static HRESULT WINAPI AudioRecord_Stop(IBaseFilter *iface)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
const GUID IID_IBaseFilter
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
const GUID IID_IPersistPropertyBag
#define IsEqualIID(riid1, riid2)
HRESULT WINAPI BaseFilterImpl_SetSyncSource(IBaseFilter *iface, IReferenceClock *pClock)
HRESULT WINAPI BaseFilterImpl_GetClassID(IBaseFilter *iface, CLSID *pClsid)
ULONG WINAPI BaseFilterImpl_Release(IBaseFilter *iface)
HRESULT WINAPI BaseFilterImpl_QueryFilterInfo(IBaseFilter *iface, FILTER_INFO *pInfo)
ULONG WINAPI BaseFilterImpl_AddRef(IBaseFilter *iface)
HRESULT WINAPI BaseFilterImpl_GetState(IBaseFilter *iface, DWORD dwMilliSecsTimeout, FILTER_STATE *pState)
HRESULT WINAPI BaseFilterImpl_JoinFilterGraph(IBaseFilter *iface, IFilterGraph *pGraph, LPCWSTR pName)
HRESULT WINAPI BaseFilterImpl_QueryVendorInfo(IBaseFilter *iface, LPWSTR *pVendorInfo)
HRESULT WINAPI BaseFilterImpl_GetSyncSource(IBaseFilter *iface, IReferenceClock **ppClock)
HRESULT WINAPI BaseFilterImpl_EnumPins(IBaseFilter *iface, IEnumPins **ppEnum)
HRESULT WINAPI BaseFilter_Init(BaseFilter *This, const IBaseFilterVtbl *Vtbl, const CLSID *pClsid, DWORD_PTR DebugInfo, const BaseFilterFuncTable *pBaseFuncsTable)
IPersistPropertyBag IPersistPropertyBag_iface
#define CONTAINING_RECORD(address, type, field)