Author: janderwald
Date: Tue Feb 23 16:25:59 2010
New Revision: 45669
URL:
http://svn.reactos.org/svn/reactos?rev=45669&view=rev
Log:
[KSPROXY]
- Fix file headers for Christoph
- Add debug spam
- IsEqualIID uses REFIID
Modified:
trunk/reactos/dll/directx/ksproxy/basicaudio.cpp
trunk/reactos/dll/directx/ksproxy/classfactory.cpp
trunk/reactos/dll/directx/ksproxy/datatype.cpp
trunk/reactos/dll/directx/ksproxy/ksproxy.cpp
trunk/reactos/dll/directx/ksproxy/precomp.h
Modified: trunk/reactos/dll/directx/ksproxy/basicaudio.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksproxy/basica…
==============================================================================
--- trunk/reactos/dll/directx/ksproxy/basicaudio.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksproxy/basicaudio.cpp [iso-8859-1] Tue Feb 23 16:25:59
2010
@@ -1,8 +1,8 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS WDM Streaming ActiveMovie Proxy
- * FILE: dll/directx/ksproxy/cvpvbiconfig.cpp
- * PURPOSE: CVPVBIConfig interface
+ * FILE: dll/directx/ksproxy/basicaudio.cpp
+ * PURPOSE: IBasicAudio interface
*
* PROGRAMMERS: Johannes Anderwald (janderwald(a)reactos.org)
*/
Modified: trunk/reactos/dll/directx/ksproxy/classfactory.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksproxy/classf…
==============================================================================
--- trunk/reactos/dll/directx/ksproxy/classfactory.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksproxy/classfactory.cpp [iso-8859-1] Tue Feb 23 16:25:59
2010
@@ -2,7 +2,7 @@
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS WDM Streaming ActiveMovie Proxy
* FILE: dll/directx/ksproxy/classfactory.cpp
- * PURPOSE: ClassFactory interface
+ * PURPOSE: IClassFactory interface
*
* PROGRAMMERS: Johannes Anderwald (janderwald(a)reactos.org)
*/
@@ -67,7 +67,16 @@
REFIID riid,
LPVOID *ppvObject)
{
+ WCHAR Buffer[MAX_PATH];
+ LPOLESTR lpstr;
+
*ppvObject = NULL;
+
+ StringFromCLSID(riid, &lpstr);
+
+ swprintf(Buffer, L"riid %s", lpstr);
+ OutputDebugStringW(Buffer);
+
if ( m_IID == NULL || IsEqualCLSID(riid, *m_IID) || IsEqualCLSID(riid,
IID_IUnknown))
{
Modified: trunk/reactos/dll/directx/ksproxy/datatype.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksproxy/dataty…
==============================================================================
--- trunk/reactos/dll/directx/ksproxy/datatype.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksproxy/datatype.cpp [iso-8859-1] Tue Feb 23 16:25:59 2010
@@ -1,7 +1,7 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS WDM Streaming ActiveMovie Proxy
- * FILE: dll/directx/ksproxy/ksproxy.c
+ * FILE: dll/directx/ksproxy/datatype.cpp
* PURPOSE: IKsDataTypeHandler interface
*
* PROGRAMMERS: Johannes Anderwald (janderwald(a)reactos.org)
Modified: trunk/reactos/dll/directx/ksproxy/ksproxy.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksproxy/ksprox…
==============================================================================
--- trunk/reactos/dll/directx/ksproxy/ksproxy.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksproxy/ksproxy.cpp [iso-8859-1] Tue Feb 23 16:25:59 2010
@@ -299,7 +299,7 @@
for (i = 0; InterfaceTable[i].riid; i++)
{
- if (IsEqualIID(InterfaceTable[i].riid, rclsid))
+ if (IsEqualIID(*InterfaceTable[i].riid, rclsid))
{
pcf = CClassFactory_fnConstructor(InterfaceTable[i].lpfnCI, NULL, NULL);
break;
Modified: trunk/reactos/dll/directx/ksproxy/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksproxy/precom…
==============================================================================
--- trunk/reactos/dll/directx/ksproxy/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksproxy/precomp.h [iso-8859-1] Tue Feb 23 16:25:59 2010
@@ -17,7 +17,7 @@
#include <vpconfig.h>
#include <setupapi.h>
-#include <debug.h>
+//#include <debug.h>
typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID*
ppvObject);