CBaseControlVideo::SetSourceRect (Compact 2013)
3/26/2014
Sets the current source video rectangle as a pure virtual function. This is an internal member function that gets called when the source rectangle changes.
Syntax
virtual HRESULT SetSourceRect(
RECT* pSourceRect
) PURE;
Parameters
- pSourceRect
Source rectangle.
Return Value
Returns an HRESULT value.
Remarks
Derived classes should override this member function to know when the source rectangle changes.
It is called from the following member functions:
- CBaseControlVideo::SetSourcePosition
- CBaseControlVideo::put_SourceLeft
- CBaseControlVideo::put_SourceWidth
- CBaseControlVideo::put_SourceTop
- CBaseControlVideo::put_SourceHeight
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |