Microsoft DirectX 9.0

IMSVidCtl Interface

This topic applies to Windows XP only.

The IMSVidCtl interface is the main interface for the Video Control. It contains methods to enumerate available devices and features, and to select which features and devices will be active. It also contains methods to build, stop, start, and pause the filter graph.

In addition to the methods inherited from IDispatch, the IMSVidCtl interface exposes the following methods.

Method Description
Build Builds the underlying filter graph and connects all the filters.
Decompose Disassembles the filter graph.
DisableAudio Disables the audio output device.
DisableVideo Disables the video output device.
get__InputsAvailable Retrieves a collection of inputs available on the local system.
get__OutputsAvailable Retrieves a collection of outputs for a specified category that are available on the local system.
get_AudioRendererActive Retrieves the currently active audio renderer.
get_AudioRenderersAvailable Retrieves a collection containing the available audio renderers.
get_AutoSize Retrieves a value that determines whether the Video Control is automatically resized to display its entire contents.
get_BackColor Retrieves the background color of the Video Control.
get_ColorKey Retrieves the color key.
get_DisplaySize Retrieves the display size.
get_Enabled Retrieves a value that determines whether the Video Control can respond to user-generated events.
get_FeaturesActive Retrieves a collection of the features currently active.
get_FeaturesAvailable Retrieves a collection of features available on the local system.
get_InputActive Retrieves the currently active input device.
get_InputsAvailable Retrieves a collection of inputs available on the local system.
get_MaintainAspectRatio Retrieves a value indicating whether the Video Control should maintain the aspect ratio of the source video when resizing its own rectangle.
get_OutputsActive Retrieves the currently active output device collection.
get_OutputsAvailable Retrieves a collection of outputs for a specified category that are available on the local system.
get_State Retrieves the state of the Video Control.
get_TabStop Retrieves a value indicating whether a user can use the TAB key to give the focus to the Video Control.
get_VideoRendererActive Retrieves the currently active video renderer.
get_VideoRenderersAvailable Retrieves a collection of video renderers available on the local system.
get_Window Retrieves the window handle associated with the Video Control.
Pause Pauses the filter graph.
put_AudioRendererActive Sets the currently active audio renderer.
put_AutoSize Sets a value that determines whether the Video Control is automatically resized to display its entire contents.
put_BackColor Sets the background color of the Video Control.
put_ColorKey Sets the color key.
put_DisplaySize Sets the display size.
put_Enabled Sets a value that determines whether the Video Control can respond to user-generated events.
put_FeaturesActive Sets a collection of the features currently active.
put_InputActive Sets the currently active input device.
put_MaintainAspectRatio Sets a value indicating whether the Video Control should maintain the aspect ratio of the source video when resizing its own rectangle.
put_OutputsActive Sets the currently active output device collection.
put_TabStop Sets a value indicating whether a user can use the TAB key to give the focus to the Video Control.
put_VideoRendererActive Sets the currently active video renderer.
Refresh Refreshes the graph configuration and the video display rectangle.
Run Runs the filter graph.
Stop Stops the filter graph.
View Selects an input device that is capable of handling a specified tune request.
ViewNext Finds another input device for viewing the specified item.

See Also