ReactOS 0.4.15-dev-7942-gd23573b
CVPConfig Class Reference
Inheritance diagram for CVPConfig:
Collaboration diagram for CVPConfig:

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)
 
HRESULT STDMETHODCALLTYPE IsVPDecimationAllowed (LPBOOL pbIsDecimationAllowed)
 
HRESULT STDMETHODCALLTYPE SetScalingFactors (LPAMVPSIZE pamvpSize)
 
 CVPConfig ()
 
virtual ~CVPConfig ()
 
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 cvpconfig.cpp.

Constructor & Destructor Documentation

◆ CVPConfig()

CVPConfig::CVPConfig ( )
inline

Definition at line 59 of file cvpconfig.cpp.

59: m_Ref(0){}
LONG m_Ref
Definition: cvpconfig.cpp:63

◆ ~CVPConfig()

virtual CVPConfig::~CVPConfig ( )
inlinevirtual

Definition at line 60 of file cvpconfig.cpp.

60{}

Member Function Documentation

◆ GetConnectInfo()

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

Definition at line 158 of file cvpconfig.cpp.

161{
162#ifdef KSPROXY_TRACE
163 OutputDebugStringW(L"UNIMPLEMENTED\n");
164#endif
165 return E_NOTIMPL;
166}
#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 CVPConfig::GetMaxPixelRate ( LPAMVPSIZE  pamvpSize,
OUT LPDWORD  pdwMaxPixelsPerSecond 
)

Definition at line 192 of file cvpconfig.cpp.

195{
196#ifdef KSPROXY_TRACE
197 OutputDebugStringW(L"UNIMPLEMENTED\n");
198#endif
199 return E_NOTIMPL;
200}

◆ GetOverlaySurface()

HRESULT STDMETHODCALLTYPE CVPConfig::GetOverlaySurface ( LPDIRECTDRAWSURFACE ppddOverlaySurface)

Definition at line 249 of file cvpconfig.cpp.

251{
252#ifdef KSPROXY_TRACE
253 OutputDebugStringW(L"UNIMPLEMENTED\n");
254#endif
255 return E_NOTIMPL;
256}

◆ GetVideoFormats()

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

Definition at line 216 of file cvpconfig.cpp.

219{
220#ifdef KSPROXY_TRACE
221 OutputDebugStringW(L"UNIMPLEMENTED\n");
222#endif
223 return E_NOTIMPL;
224}

◆ GetVPDataInfo()

HRESULT STDMETHODCALLTYPE CVPConfig::GetVPDataInfo ( LPAMVPDATAINFO  pamvpDataInfo)

Definition at line 181 of file cvpconfig.cpp.

183{
184#ifdef KSPROXY_TRACE
185 OutputDebugStringW(L"UNIMPLEMENTED\n");
186#endif
187 return E_NOTIMPL;
188}

◆ InformVPInputFormats()

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

Definition at line 204 of file cvpconfig.cpp.

207{
208#ifdef KSPROXY_TRACE
209 OutputDebugStringW(L"UNIMPLEMENTED\n");
210#endif
211 return E_NOTIMPL;
212}

◆ IsVPDecimationAllowed()

HRESULT STDMETHODCALLTYPE CVPConfig::IsVPDecimationAllowed ( LPBOOL  pbIsDecimationAllowed)

Definition at line 313 of file cvpconfig.cpp.

315{
316#ifdef KSPROXY_TRACE
317 OutputDebugStringW(L"UNIMPLEMENTED\n");
318#endif
319 return E_NOTIMPL;
320}

◆ NotifyGraphChange()

HRESULT STDMETHODCALLTYPE CVPConfig::NotifyGraphChange ( void  )

Implements IDistributorNotify.

Definition at line 145 of file cvpconfig.cpp.

146{
147#ifdef KSPROXY_TRACE
148 OutputDebugStringW(L"UNIMPLEMENTED\n");
149#endif
150 return E_NOTIMPL;
151}

◆ Pause()

HRESULT STDMETHODCALLTYPE CVPConfig::Pause ( void  )

Implements IDistributorNotify.

Definition at line 113 of file cvpconfig.cpp.

114{
115#ifdef KSPROXY_TRACE
116 OutputDebugStringW(L"UNIMPLEMENTED\n");
117#endif
118 return E_NOTIMPL;
119}

◆ QueryInterface()

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

Definition at line 69 of file cvpconfig.cpp.

72{
73 if (IsEqualGUID(refiid, IID_IUnknown))
74 {
75 *Output = PVOID(this);
76 reinterpret_cast<IUnknown*>(*Output)->AddRef();
77 return NOERROR;
78 }
80 {
81 *Output = (IDistributorNotify*)(this);
82 reinterpret_cast<IDistributorNotify*>(*Output)->AddRef();
83 return NOERROR;
84 }
85
86 if (IsEqualGUID(refiid, IID_IVPConfig))
87 {
88 *Output = (IVPConfig*)(this);
89 reinterpret_cast<IVPConfig*>(*Output)->AddRef();
90 return NOERROR;
91 }
92
93 return E_NOINTERFACE;
94}
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 CVPConfig::Run ( REFERENCE_TIME  tStart)

Implements IDistributorNotify.

Definition at line 123 of file cvpconfig.cpp.

125{
126#ifdef KSPROXY_TRACE
127 OutputDebugStringW(L"UNIMPLEMENTED\n");
128#endif
129 return E_NOTIMPL;
130}

◆ SetConnectInfo()

HRESULT STDMETHODCALLTYPE CVPConfig::SetConnectInfo ( DWORD  dwChosenEntry)

Definition at line 170 of file cvpconfig.cpp.

172{
173#ifdef KSPROXY_TRACE
174 OutputDebugStringW(L"UNIMPLEMENTED\n");
175#endif
176 return E_NOTIMPL;
177}

◆ SetDDSurfaceKernelHandles()

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

Definition at line 283 of file cvpconfig.cpp.

286{
287#ifdef KSPROXY_TRACE
288 OutputDebugStringW(L"UNIMPLEMENTED\n");
289#endif
290 return E_NOTIMPL;
291}

◆ SetDirectDrawKernelHandle()

HRESULT STDMETHODCALLTYPE CVPConfig::SetDirectDrawKernelHandle ( ULONG_PTR  dwDDKernelHandle)

Definition at line 260 of file cvpconfig.cpp.

262{
263#ifdef KSPROXY_TRACE
264 OutputDebugStringW(L"UNIMPLEMENTED\n");
265#endif
266 return E_NOTIMPL;
267}

◆ SetInvertPolarity()

HRESULT STDMETHODCALLTYPE CVPConfig::SetInvertPolarity ( )

Definition at line 239 of file cvpconfig.cpp.

240{
241#ifdef KSPROXY_TRACE
242 OutputDebugStringW(L"UNIMPLEMENTED\n");
243#endif
244 return E_NOTIMPL;
245}

◆ SetScalingFactors()

HRESULT STDMETHODCALLTYPE CVPConfig::SetScalingFactors ( LPAMVPSIZE  pamvpSize)

Definition at line 324 of file cvpconfig.cpp.

326{
327#ifdef KSPROXY_TRACE
328 OutputDebugStringW(L"UNIMPLEMENTED\n");
329#endif
330 return E_NOTIMPL;
331}

◆ SetSurfaceParameters()

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

Definition at line 296 of file cvpconfig.cpp.

300{
301#ifdef KSPROXY_TRACE
302 OutputDebugStringW(L"UNIMPLEMENTED\n");
303#endif
304 return E_NOTIMPL;
305}

◆ SetSyncSource()

HRESULT STDMETHODCALLTYPE CVPConfig::SetSyncSource ( IReferenceClock pClock)

Implements IDistributorNotify.

Definition at line 134 of file cvpconfig.cpp.

136{
137#ifdef KSPROXY_TRACE
138 OutputDebugStringW(L"UNIMPLEMENTED\n");
139#endif
140 return E_NOTIMPL;
141}

◆ SetVideoFormat()

HRESULT STDMETHODCALLTYPE CVPConfig::SetVideoFormat ( DWORD  dwChosenEntry)

Definition at line 228 of file cvpconfig.cpp.

230{
231#ifdef KSPROXY_TRACE
232 OutputDebugStringW(L"UNIMPLEMENTED\n");
233#endif
234 return E_NOTIMPL;
235}

◆ SetVideoPortID()

HRESULT STDMETHODCALLTYPE CVPConfig::SetVideoPortID ( IN DWORD  dwVideoPortID)

Definition at line 271 of file cvpconfig.cpp.

273{
274#ifdef KSPROXY_TRACE
275 OutputDebugStringW(L"UNIMPLEMENTED\n");
276#endif
277 return E_NOTIMPL;
278}

◆ STDMETHODIMP_() [1/2]

CVPConfig::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 17 of file cvpconfig.cpp.

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

◆ STDMETHODIMP_() [2/2]

CVPConfig::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 22 of file cvpconfig.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 CVPConfig::Stop ( void  )

Implements IDistributorNotify.

Definition at line 103 of file cvpconfig.cpp.

104{
105#ifdef KSPROXY_TRACE
106 OutputDebugStringW(L"UNIMPLEMENTED\n");
107#endif
108 return E_NOTIMPL;
109}

Member Data Documentation

◆ m_Ref

LONG CVPConfig::m_Ref
protected

Definition at line 63 of file cvpconfig.cpp.

Referenced by STDMETHODIMP_().


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