Partager via


CBaseControlVideo::SetTargetRect (Compact 2013)

3/26/2014

Sets the current target rectangle as a pure virtual function. This is an internal member function that gets called when the destination rectangle changes.

Syntax

virtual HRESULT SetTargetRect(
  RECT* pTargetRect
) PURE;

Parameters

  • pTargetRect
    Destination rectangle.

Return Value

Returns an HRESULT value.

Remarks

Derived classes should override this to know when the destination 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