IMixerOCX interface

The IMixerOCX interface is implemented on the Overlay Mixer. This interface enables clients that do not own their own windows, such as an ActiveX control, to set properties of the video rectangle and advise the filter of events.

Note  Applications should generally use the Video Mixing Renderer Filter 9 (VMR-9) and not the Overlay Mixer. The only scenario that requires the Overlay Mixer is when the video capture or decoder hardware uses video ports to transfer video data to the graphics card. The VMR-9 does not support video ports.
 

Methods

The IMixerOCX interface has these methods.

Method Description
IMixerOCX::Advise The Advise method provides the Overlay Mixer with a pointer to the client's IMixerOCXNotify interface for callback notifications.
IMixerOCX::GetAspectRatio The GetAspectRatio method returns the current aspect ratio setting on the Overlay Mixer. (Currently not implemented.).
IMixerOCX::GetStatus The GetStatus method returns the current status of the Overlay Mixer. (Not implemented.).
IMixerOCX::GetVideoSize The GetVideoSize method retrieves the current size of the video rectangle.
IMixerOCX::OnDisplayChange The OnDisplayChange method informs the Overlay Mixer that the monitor's display settings have changed. (Not implemented.).
IMixerOCX::OnDraw The OnDraw method instructs the Overlay Mixer to draw the video rectangle.
IMixerOCX::SetDrawRegion The SetDrawRegion method specifies the location and dimensions of the video and clipping rectangles in screen coordinates.
IMixerOCX::UnAdvise The UnAdvise method instructs the Overlay Mixer to release its pointer to the client's IMixerOCXNotify interface.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mixerocx.h