From 3b3084fbdc80fe6bb2228ceb00232d6667efa6f6 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Mon, 23 Jun 2008 13:15:46 -0700 Subject: [PATCH] quartz: Implement GraphConfig_Reconfigure to make graphedit happy --- dlls/quartz/filtergraph.c | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 36bfd24..2b71e21 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -5186,10 +5186,20 @@ static HRESULT WINAPI GraphConfig_Reconfigure(IGraphConfig *iface, HANDLE hAbortEvent) { ICOM_THIS_MULTI(IFilterGraphImpl, IGraphConfig_vtbl, iface); + HRESULT hr; - FIXME("(%p)->(%p, %p, %x, %p): stub!\n", This, pCallback, pvContext, dwFlags, hAbortEvent); - - return E_NOTIMPL; + WARN("(%p)->(%p, %p, %x, %p): partial stub!\n", This, pCallback, pvContext, dwFlags, hAbortEvent); + + if (hAbortEvent) + FIXME("The parameter hAbortEvent is not handled!\n"); + + EnterCriticalSection(&This->cs); + + hr = IGraphConfigCallback_Reconfigure(pCallback, pvContext, dwFlags); + + LeaveCriticalSection(&This->cs); + + return hr; } static HRESULT WINAPI GraphConfig_AddFilterToCache(IGraphConfig *iface, -- 1.5.4.1