Share via


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:

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlVideo Class