[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS WDM Streaming ActiveMovie Proxy
|
|
|
|
* FILE: dll/directx/ksproxy/cvpvbiconfig.cpp
|
|
|
|
* PURPOSE: CVPVBIConfig interface
|
|
|
|
*
|
2013-09-15 13:06:05 +00:00
|
|
|
* PROGRAMMERS: Johannes Anderwald (johannes.anderwald@reactos.org)
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
|
|
|
|
class CVPVBIConfig : public IVPVBIConfig,
|
|
|
|
public IDistributorNotify
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
STDMETHODIMP QueryInterface( REFIID InterfaceId, PVOID* Interface);
|
|
|
|
|
|
|
|
STDMETHODIMP_(ULONG) AddRef()
|
|
|
|
{
|
|
|
|
InterlockedIncrement(&m_Ref);
|
|
|
|
return m_Ref;
|
|
|
|
}
|
|
|
|
STDMETHODIMP_(ULONG) Release()
|
|
|
|
{
|
|
|
|
InterlockedDecrement(&m_Ref);
|
|
|
|
|
|
|
|
if (!m_Ref)
|
|
|
|
{
|
|
|
|
delete this;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
return m_Ref;
|
|
|
|
}
|
|
|
|
|
|
|
|
// IDistributorNotify interface
|
|
|
|
HRESULT STDMETHODCALLTYPE Stop();
|
|
|
|
HRESULT STDMETHODCALLTYPE Pause();
|
|
|
|
HRESULT STDMETHODCALLTYPE Run(REFERENCE_TIME tStart);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetSyncSource(IReferenceClock *pClock);
|
|
|
|
HRESULT STDMETHODCALLTYPE NotifyGraphChange();
|
|
|
|
|
|
|
|
// IVPBaseConfig
|
|
|
|
HRESULT STDMETHODCALLTYPE GetConnectInfo(LPDWORD pdwNumConnectInfo, IN OUT LPDDVIDEOPORTCONNECT pddVPConnectInfo);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetConnectInfo(DWORD dwChosenEntry);
|
|
|
|
HRESULT STDMETHODCALLTYPE GetVPDataInfo(LPAMVPDATAINFO pamvpDataInfo);
|
|
|
|
HRESULT STDMETHODCALLTYPE GetMaxPixelRate(LPAMVPSIZE pamvpSize, OUT LPDWORD pdwMaxPixelsPerSecond);
|
|
|
|
HRESULT STDMETHODCALLTYPE InformVPInputFormats(DWORD dwNumFormats, IN LPDDPIXELFORMAT pDDPixelFormats);
|
|
|
|
HRESULT STDMETHODCALLTYPE GetVideoFormats(LPDWORD pdwNumFormats, IN OUT LPDDPIXELFORMAT pddPixelFormats);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetVideoFormat(DWORD dwChosenEntry);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetInvertPolarity();
|
|
|
|
HRESULT STDMETHODCALLTYPE GetOverlaySurface(LPDIRECTDRAWSURFACE* ppddOverlaySurface);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetDirectDrawKernelHandle(ULONG_PTR dwDDKernelHandle);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetVideoPortID(IN DWORD dwVideoPortID);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetDDSurfaceKernelHandles(DWORD cHandles, IN ULONG_PTR *rgDDKernelHandles);
|
|
|
|
HRESULT STDMETHODCALLTYPE SetSurfaceParameters(DWORD dwPitch, IN DWORD dwXOrigin, IN DWORD dwYOrigin);
|
|
|
|
|
|
|
|
CVPVBIConfig() : m_Ref(0){}
|
|
|
|
virtual ~CVPVBIConfig(){}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
LONG m_Ref;
|
|
|
|
};
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::QueryInterface(
|
|
|
|
IN REFIID refiid,
|
|
|
|
OUT PVOID* Output)
|
|
|
|
{
|
|
|
|
if (IsEqualGUID(refiid, IID_IUnknown))
|
|
|
|
{
|
|
|
|
*Output = PVOID(this);
|
|
|
|
reinterpret_cast<IUnknown*>(*Output)->AddRef();
|
|
|
|
return NOERROR;
|
|
|
|
}
|
|
|
|
if (IsEqualGUID(refiid, IID_IDistributorNotify))
|
|
|
|
{
|
|
|
|
*Output = (IDistributorNotify*)(this);
|
|
|
|
reinterpret_cast<IDistributorNotify*>(*Output)->AddRef();
|
|
|
|
return NOERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (IsEqualGUID(refiid, IID_IVPVBIConfig))
|
|
|
|
{
|
|
|
|
*Output = (IVPConfig*)(this);
|
|
|
|
reinterpret_cast<IVPConfig*>(*Output)->AddRef();
|
|
|
|
return NOERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
return E_NOINTERFACE;
|
|
|
|
}
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------
|
|
|
|
// IDistributorNotify interface
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::Stop()
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::Pause()
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::Run(
|
|
|
|
REFERENCE_TIME tStart)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetSyncSource(
|
|
|
|
IReferenceClock *pClock)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::NotifyGraphChange()
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------
|
|
|
|
// IVPBaseConfig
|
|
|
|
//
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::GetConnectInfo(
|
|
|
|
LPDWORD pdwNumConnectInfo,
|
|
|
|
IN OUT LPDDVIDEOPORTCONNECT pddVPConnectInfo)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetConnectInfo(
|
|
|
|
DWORD dwChosenEntry)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::GetVPDataInfo(
|
|
|
|
LPAMVPDATAINFO pamvpDataInfo)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::GetMaxPixelRate(
|
|
|
|
LPAMVPSIZE pamvpSize,
|
|
|
|
OUT LPDWORD pdwMaxPixelsPerSecond)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::InformVPInputFormats(
|
|
|
|
DWORD dwNumFormats,
|
|
|
|
IN LPDDPIXELFORMAT pDDPixelFormats)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::GetVideoFormats(
|
|
|
|
LPDWORD pdwNumFormats,
|
|
|
|
IN OUT LPDDPIXELFORMAT pddPixelFormats)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetVideoFormat(
|
|
|
|
DWORD dwChosenEntry)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetInvertPolarity()
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::GetOverlaySurface(
|
|
|
|
LPDIRECTDRAWSURFACE* ppddOverlaySurface)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetDirectDrawKernelHandle(
|
|
|
|
ULONG_PTR dwDDKernelHandle)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetVideoPortID(
|
|
|
|
IN DWORD dwVideoPortID)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetDDSurfaceKernelHandles(
|
|
|
|
DWORD cHandles,
|
|
|
|
IN ULONG_PTR *rgDDKernelHandles)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
STDMETHODCALLTYPE
|
|
|
|
CVPVBIConfig::SetSurfaceParameters(
|
|
|
|
DWORD dwPitch,
|
|
|
|
IN DWORD dwXOrigin,
|
|
|
|
IN DWORD dwYOrigin)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
|
|
|
OutputDebugStringW(L"UNIMPLEMENTED\n");
|
|
|
|
#endif
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CVPVBIConfig_Constructor(
|
|
|
|
IUnknown * pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv)
|
|
|
|
{
|
2010-03-24 17:30:43 +00:00
|
|
|
#ifdef KSPROXY_TRACE
|
2010-03-02 16:27:50 +00:00
|
|
|
OutputDebugStringW(L"CVPVBIConfig_Constructor\n");
|
2010-03-24 17:30:43 +00:00
|
|
|
#endif
|
2010-03-02 16:27:50 +00:00
|
|
|
|
[KSPROXY]
- Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder
- Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
svn path=/trunk/; revision=45608
2010-02-18 15:24:29 +00:00
|
|
|
CVPVBIConfig * handler = new CVPVBIConfig();
|
|
|
|
|
|
|
|
if (!handler)
|
|
|
|
return E_OUTOFMEMORY;
|
|
|
|
|
|
|
|
if (FAILED(handler->QueryInterface(riid, ppv)))
|
|
|
|
{
|
|
|
|
/* not supported */
|
|
|
|
delete handler;
|
|
|
|
return E_NOINTERFACE;
|
|
|
|
}
|
|
|
|
|
|
|
|
return NOERROR;
|
|
|
|
}
|