IDDrawExclModeVideoCallback interface (strmif.h)

[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 IDDrawExclModeVideoCallback interface is a callback interface for the IDDrawExclModeVideo interface.

This callback interface enables applications to get synchronous notification about changes to the overlay position, size, visibility, and so on, so that the application can adjust its video visibility, size, and position. This avoids any color key flash at the beginning, end, or during playback. The application must implement the interface. It is important that none of the methods block or slow down the video processing, because this will cause problems with playback.

Use this interface if you are writing a filter that supports IDDrawExclModeVideo or needs to generate callbacks to enable an application to draw color keys at the right time.

Inheritance

The IDDrawExclModeVideoCallback interface inherits from the IUnknown interface. IDDrawExclModeVideoCallback also has these types of members:

Methods

The IDDrawExclModeVideoCallback interface has these methods.

 
IDDrawExclModeVideoCallback::OnUpdateColorKey

The OnUpdateColorKey method informs the application that the color key has changed so that the application can use the new color key to overlay graphics on the video.
IDDrawExclModeVideoCallback::OnUpdateOverlay

The OnUpdateOverlay method informs the application when the overlay surface for the video is about to become visible, invisible, change size, or change position, so that the application can repaint its window appropriately.
IDDrawExclModeVideoCallback::OnUpdateSize

The OnUpdateSize method informs the application that the size of the video rectangle is about to change.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)