qcap: IPinImpl_QueryInternalConnections() is unused so remove it.

Francois Gouget fgouget at free.fr
Sat Feb 7 09:07:27 CST 2009


---

Maarten Lankhorst said it was essentially copy/pasted from quartz.

 dlls/qcap/pin.c |    9 ---------
 dlls/qcap/pin.h |    1 -
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/dlls/qcap/pin.c b/dlls/qcap/pin.c
index 44ce5e8..d4ba451 100644
--- a/dlls/qcap/pin.c
+++ b/dlls/qcap/pin.c
@@ -151,15 +151,6 @@ HRESULT WINAPI IPinImpl_QueryAccept(IPin * iface, const AM_MEDIA_TYPE * pmt)
     return (This->fnQueryAccept(This->pUserData, pmt) == S_OK ? S_OK : S_FALSE);
 }
 
-HRESULT WINAPI IPinImpl_QueryInternalConnections(IPin * iface, IPin ** apPin, ULONG * cPin)
-{
-    IPinImpl *This = (IPinImpl *)iface;
-
-    TRACE("(%p/%p)->(%p, %p)\n", This, iface, apPin, cPin);
-
-    return E_NOTIMPL; /* to tell caller that all input pins connected to all output pins */
-}
-
 /* Function called as a helper to IPin_Connect */
 /* specific AM_MEDIA_TYPE - it cannot be NULL */
 /* NOTE: not part of standard interface */
diff --git a/dlls/qcap/pin.h b/dlls/qcap/pin.h
index 316d3d6..68d3e28 100644
--- a/dlls/qcap/pin.h
+++ b/dlls/qcap/pin.h
@@ -71,7 +71,6 @@ HRESULT WINAPI IPinImpl_QueryDirection(IPin * iface, PIN_DIRECTION * pPinDir);
 HRESULT WINAPI IPinImpl_QueryId(IPin * iface, LPWSTR * Id);
 HRESULT WINAPI IPinImpl_QueryAccept(IPin * iface, const AM_MEDIA_TYPE * pmt);
 HRESULT WINAPI IPinImpl_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum);
-HRESULT WINAPI IPinImpl_QueryInternalConnections(IPin * iface, IPin ** apPin, ULONG * cPin);
 
 /* Output Pin */
 HRESULT WINAPI OutputPin_Connect(IPin * iface, IPin * pReceivePin, const AM_MEDIA_TYPE * pmt);
-- 
1.5.6.5




More information about the wine-patches mailing list