Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 2.08 KB

cbasecontrolvideo-onupdaterectangles.md

File metadata and controls

69 lines (40 loc) · 2.08 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location ms.custom
The OnUpdateRectangles method is called when either the source or destination rectangle changes.
a4979ca3-7882-4e63-bc34-9cc6c5b0675d
CBaseControlVideo.OnUpdateRectangles method (Ctlutil.h)
reference
4/26/2023
APIRef
kbSyntax
CBaseControlVideo.OnUpdateRectangles
COM
Strmbase.lib
Strmbase.dll
Strmbasd.lib
Strmbasd.dll
UpdateFrequency5

CBaseControlVideo.OnUpdateRectangles method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The OnUpdateRectangles method is called when either the source or destination rectangle changes.

Syntax

virtual HRESULT OnUpdateRectangles();

Parameters

This method has no parameters.

Return value

Returns NOERROR.

Requirements

Requirement Value
Header
Ctlutil.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseControlVideo Class