ReactOS 0.4.15-dev-5669-g09dde2c
CVPVBIConfig Class Reference
Inheritance diagram for CVPVBIConfig:
Collaboration diagram for CVPVBIConfig:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
HRESULT STDMETHODCALLTYPE Stop ()
 
HRESULT STDMETHODCALLTYPE Pause ()
 
HRESULT STDMETHODCALLTYPE Run (REFERENCE_TIME tStart)
 
HRESULT STDMETHODCALLTYPE SetSyncSource (IReferenceClock *pClock)
 
HRESULT STDMETHODCALLTYPE NotifyGraphChange ()
 
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 ()
 
virtual ~CVPVBIConfig ()
 
HRESULT Stop (void)
 
HRESULT Pause (void)
 
HRESULT Run (REFERENCE_TIME tStart)
 
HRESULT SetSyncSource ([in] IReferenceClock *pClock)
 
HRESULT NotifyGraphChange (void)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Protected Attributes

LONG m_Ref
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 11 of file cvpvbiconfig.cpp.

Constructor & Destructor Documentation

◆ CVPVBIConfig()

CVPVBIConfig::CVPVBIConfig ( )
inline

Definition at line 56 of file cvpvbiconfig.cpp.

56: m_Ref(0){}

◆ ~CVPVBIConfig()

virtual CVPVBIConfig::~CVPVBIConfig ( )
inlinevirtual

Definition at line 57 of file cvpvbiconfig.cpp.

57{}

Member Function Documentation

◆ GetConnectInfo()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::GetConnectInfo ( LPDWORD  pdwNumConnectInfo,
IN OUT LPDDVIDEOPORTCONNECT  pddVPConnectInfo 
)

Definition at line 154 of file cvpvbiconfig.cpp.

157{
158#ifdef KSPROXY_TRACE
159 OutputDebugStringW(L"UNIMPLEMENTED\n");
160#endif
161 return E_NOTIMPL;
162}
#define E_NOTIMPL
Definition: ddrawi.h:99
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
#define L(x)
Definition: ntvdm.h:50

◆ GetMaxPixelRate()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::GetMaxPixelRate ( LPAMVPSIZE  pamvpSize,
OUT LPDWORD  pdwMaxPixelsPerSecond 
)

Definition at line 188 of file cvpvbiconfig.cpp.

191{
192#ifdef KSPROXY_TRACE
193 OutputDebugStringW(L"UNIMPLEMENTED\n");
194#endif
195 return E_NOTIMPL;
196}

◆ GetOverlaySurface()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::GetOverlaySurface ( LPDIRECTDRAWSURFACE ppddOverlaySurface)

Definition at line 245 of file cvpvbiconfig.cpp.

247{
248#ifdef KSPROXY_TRACE
249 OutputDebugStringW(L"UNIMPLEMENTED\n");
250#endif
251 return E_NOTIMPL;
252}

◆ GetVideoFormats()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::GetVideoFormats ( LPDWORD  pdwNumFormats,
IN OUT LPDDPIXELFORMAT  pddPixelFormats 
)

Definition at line 212 of file cvpvbiconfig.cpp.

215{
216#ifdef KSPROXY_TRACE
217 OutputDebugStringW(L"UNIMPLEMENTED\n");
218#endif
219 return E_NOTIMPL;
220}

◆ GetVPDataInfo()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::GetVPDataInfo ( LPAMVPDATAINFO  pamvpDataInfo)

Definition at line 177 of file cvpvbiconfig.cpp.

179{
180#ifdef KSPROXY_TRACE
181 OutputDebugStringW(L"UNIMPLEMENTED\n");
182#endif
183 return E_NOTIMPL;
184}

◆ InformVPInputFormats()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::InformVPInputFormats ( DWORD  dwNumFormats,
IN LPDDPIXELFORMAT  pDDPixelFormats 
)

Definition at line 200 of file cvpvbiconfig.cpp.

203{
204#ifdef KSPROXY_TRACE
205 OutputDebugStringW(L"UNIMPLEMENTED\n");
206#endif
207 return E_NOTIMPL;
208}

◆ NotifyGraphChange()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::NotifyGraphChange ( void  )

Implements IDistributorNotify.

Definition at line 141 of file cvpvbiconfig.cpp.

142{
143#ifdef KSPROXY_TRACE
144 OutputDebugStringW(L"UNIMPLEMENTED\n");
145#endif
146 return E_NOTIMPL;
147}

◆ Pause()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::Pause ( void  )

Implements IDistributorNotify.

Definition at line 109 of file cvpvbiconfig.cpp.

110{
111#ifdef KSPROXY_TRACE
112 OutputDebugStringW(L"UNIMPLEMENTED\n");
113#endif
114 return E_NOTIMPL;
115}

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::QueryInterface ( REFIID  InterfaceId,
PVOID Interface 
)

Definition at line 65 of file cvpvbiconfig.cpp.

68{
69 if (IsEqualGUID(refiid, IID_IUnknown))
70 {
71 *Output = PVOID(this);
72 reinterpret_cast<IUnknown*>(*Output)->AddRef();
73 return NOERROR;
74 }
76 {
77 *Output = (IDistributorNotify*)(this);
78 reinterpret_cast<IDistributorNotify*>(*Output)->AddRef();
79 return NOERROR;
80 }
81
82 if (IsEqualGUID(refiid, IID_IVPVBIConfig))
83 {
84 *Output = (IVPConfig*)(this);
85 reinterpret_cast<IVPConfig*>(*Output)->AddRef();
86 return NOERROR;
87 }
88
89 return E_NOINTERFACE;
90}
const GUID IID_IUnknown
const GUID IID_IDistributorNotify
ULONG AddRef()
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
@ Output
Definition: arc.h:85
void * PVOID
Definition: typedefs.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354

◆ Run()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::Run ( REFERENCE_TIME  tStart)

Implements IDistributorNotify.

Definition at line 119 of file cvpvbiconfig.cpp.

121{
122#ifdef KSPROXY_TRACE
123 OutputDebugStringW(L"UNIMPLEMENTED\n");
124#endif
125 return E_NOTIMPL;
126}

◆ SetConnectInfo()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetConnectInfo ( DWORD  dwChosenEntry)

Definition at line 166 of file cvpvbiconfig.cpp.

168{
169#ifdef KSPROXY_TRACE
170 OutputDebugStringW(L"UNIMPLEMENTED\n");
171#endif
172 return E_NOTIMPL;
173}

◆ SetDDSurfaceKernelHandles()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetDDSurfaceKernelHandles ( DWORD  cHandles,
IN ULONG_PTR rgDDKernelHandles 
)

Definition at line 279 of file cvpvbiconfig.cpp.

282{
283#ifdef KSPROXY_TRACE
284 OutputDebugStringW(L"UNIMPLEMENTED\n");
285#endif
286 return E_NOTIMPL;
287}

◆ SetDirectDrawKernelHandle()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetDirectDrawKernelHandle ( ULONG_PTR  dwDDKernelHandle)

Definition at line 256 of file cvpvbiconfig.cpp.

258{
259#ifdef KSPROXY_TRACE
260 OutputDebugStringW(L"UNIMPLEMENTED\n");
261#endif
262 return E_NOTIMPL;
263}

◆ SetInvertPolarity()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetInvertPolarity ( )

Definition at line 235 of file cvpvbiconfig.cpp.

236{
237 #ifdef KSPROXY_TRACE
238 OutputDebugStringW(L"UNIMPLEMENTED\n");
239#endif
240 return E_NOTIMPL;
241}

◆ SetSurfaceParameters()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetSurfaceParameters ( DWORD  dwPitch,
IN DWORD  dwXOrigin,
IN DWORD  dwYOrigin 
)

Definition at line 292 of file cvpvbiconfig.cpp.

296{
297#ifdef KSPROXY_TRACE
298 OutputDebugStringW(L"UNIMPLEMENTED\n");
299#endif
300 return E_NOTIMPL;
301}

◆ SetSyncSource()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetSyncSource ( IReferenceClock pClock)

Implements IDistributorNotify.

Definition at line 130 of file cvpvbiconfig.cpp.

132{
133#ifdef KSPROXY_TRACE
134 OutputDebugStringW(L"UNIMPLEMENTED\n");
135#endif
136 return E_NOTIMPL;
137}

◆ SetVideoFormat()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetVideoFormat ( DWORD  dwChosenEntry)

Definition at line 224 of file cvpvbiconfig.cpp.

226{
227#ifdef KSPROXY_TRACE
228 OutputDebugStringW(L"UNIMPLEMENTED\n");
229#endif
230 return E_NOTIMPL;
231}

◆ SetVideoPortID()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::SetVideoPortID ( IN DWORD  dwVideoPortID)

Definition at line 267 of file cvpvbiconfig.cpp.

269{
270#ifdef KSPROXY_TRACE
271 OutputDebugStringW(L"UNIMPLEMENTED\n");
272#endif
273 return E_NOTIMPL;
274}

◆ STDMETHODIMP_() [1/2]

CVPVBIConfig::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 17 of file cvpvbiconfig.cpp.

18 {
20 return m_Ref;
21 }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CVPVBIConfig::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 22 of file cvpvbiconfig.cpp.

23 {
25
26 if (!m_Ref)
27 {
28 delete this;
29 return 0;
30 }
31 return m_Ref;
32 }
#define InterlockedDecrement
Definition: armddk.h:52

◆ Stop()

HRESULT STDMETHODCALLTYPE CVPVBIConfig::Stop ( void  )

Implements IDistributorNotify.

Definition at line 99 of file cvpvbiconfig.cpp.

100{
101#ifdef KSPROXY_TRACE
102 OutputDebugStringW(L"UNIMPLEMENTED\n");
103#endif
104 return E_NOTIMPL;
105}

Member Data Documentation

◆ m_Ref

LONG CVPVBIConfig::m_Ref
protected

Definition at line 60 of file cvpvbiconfig.cpp.

Referenced by STDMETHODIMP_().


The documentation for this class was generated from the following file: