ReactOS  0.4.14-dev-342-gdc047f9
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 ()
 

Protected Attributes

LONG m_Ref
 

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ NotifyGraphChange()

HRESULT STDMETHODCALLTYPE CVPConfig::NotifyGraphChange ( )

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Pause()

HRESULT STDMETHODCALLTYPE CVPConfig::Pause ( )

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354
void * PVOID
Definition: retypes.h:9
const GUID IID_IUnknown
Definition: arc.h:85
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4112
const GUID IID_IDistributorNotify

◆ Run()

HRESULT STDMETHODCALLTYPE CVPConfig::Run ( REFERENCE_TIME  tStart)

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ SetSyncSource()

HRESULT STDMETHODCALLTYPE CVPConfig::SetSyncSource ( IReferenceClock pClock)

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ STDMETHODIMP_() [1/2]

CVPConfig::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 17 of file cvpconfig.cpp.

18  {
20  return m_Ref;
21  }
LONG m_Ref
Definition: cvpconfig.cpp:63
#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  }
LONG m_Ref
Definition: cvpconfig.cpp:63
#define InterlockedDecrement
Definition: armddk.h:52

◆ Stop()

HRESULT STDMETHODCALLTYPE CVPConfig::Stop ( )

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 }
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
static const WCHAR L[]
Definition: oid.c:1250
#define E_NOTIMPL
Definition: ddrawi.h:99

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: