_AM_OVERLAY_NOTIFY_FLAGS enumeration (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 AM_OVERLAY_NOTIFY_FLAGS enumeration indicates what the overlay has changed, or is about to change.

Syntax

typedef enum _AM_OVERLAY_NOTIFY_FLAGS {
  AM_OVERLAY_NOTIFY_VISIBLE_CHANGE = 0x1,
  AM_OVERLAY_NOTIFY_SOURCE_CHANGE = 0x2,
  AM_OVERLAY_NOTIFY_DEST_CHANGE = 0x4
} ;

Constants

 
AM_OVERLAY_NOTIFY_VISIBLE_CHANGE
Value: 0x1
The rectangle will be changed from visible to invisible, or vice-versa.
AM_OVERLAY_NOTIFY_SOURCE_CHANGE
Value: 0x2
Source rectangle changed or changing.
AM_OVERLAY_NOTIFY_DEST_CHANGE
Value: 0x4
Destination rectangle changed or changing.

Remarks

The IDDrawExclModeVideoCallback::OnUpdateOverlay method uses these flags to indicate how the overlay has changed, so that applications can take the necessary steps.

Requirements

Requirement Value
Header strmif.h (include Dshow.h)

See also

DirectShow Enumerated Types

IDDrawExclModeVideoCallback::OnUpdateOverlay