Partager via


IMixerOCXNotify::OnDataChange

 
Microsoft DirectShow 9.0

IMixerOCXNotify::OnDataChange

The OnDataChange method notifies the client when the video rectangle's aspect ratio or size, or the display palette, has changed.

Syntax

  HRESULT OnDataChange(
  ULONG  ulDataFlags
);

Parameters

ulDataFlags

[in]  Flag indicating which set of data has changed. The following flags are defined.

Flags Description
MIXER_DATA_ASPECT_RATIO (0x00000001) Picture aspect ratio.
MIXER_DATA_NATIVE_SIZE (0x00000002) The video stream's native size changed.
MIXER_DATA_PALETTE (0x00000004) The video palette changed.

Return Values

If the method succeeds, it returns S_OK.

Requirements

Header: Include Mixerocx.h.

Library: Use Strmiids.lib.

See Also