Maarten Lankhorst : quartz: Clear pin value if not connected.
Module: wine Branch: master Commit: e8a023f9f860e06d10907fed03bdd6b496bb7f08 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e8a023f9f860e06d10907fed03... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Thu Jun 19 21:18:26 2008 -0700 quartz: Clear pin value if not connected. --- dlls/quartz/pin.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c index 18079f3..766dad9 100644 --- a/dlls/quartz/pin.c +++ b/dlls/quartz/pin.c @@ -408,7 +408,10 @@ HRESULT WINAPI IPinImpl_ConnectedTo(IPin * iface, IPin ** ppPin) hr = S_OK; } else + { hr = VFW_E_NOT_CONNECTED; + *ppPin = NULL; + } } LeaveCriticalSection(This->pCritSec);
participants (1)
-
Alexandre Julliard