Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This class provides base class handling of the IDispatchmethods of the dual-interface IMediaControl. It leaves as pure virtual the properties and methods of the IMediaControlinterface.
Typically, the filter graph manager is the only object that implements the IMediaControlinterface. (Filters implement the IMediaFilterinterface, inherited by IBaseFilter, to receive control commands from the filter graph manager.) Therefore, this class library is of limited use to filter developers.
The CMediaControl::GetIDsOfNames, CMediaControl::GetTypeInfo, CMediaControl::GetTypeInfoCount, and CMediaControl::Invokemember functions are standard implementations of the IDispatchmethods using the CBaseDispatchclass (and a type library) to parse the commands and pass them to the pure virtual methods of the IMediaControlinterface.
The IMediaControlmethods, defined in Control.odl, are left as pure virtual.
Member Functions
Member function | Description |
---|---|
Constructs a CMediaControlobject. |
Implemented INonDelegatingUnknown Methods
Method | Description |
---|---|
Returns a specified reference-counted interface. |
Implemented IDispatch Methods
Method | Description |
---|---|
Maps a single member and an optional set of parameters to a corresponding set of integer dispatch identifiers (DISPIDs), which can be used during subsequent calls to the CMediaControl::Invokemethod. |
|
Retrieves a type-information object, which can retrieve the type information for an interface. |
|
Retrieves the number of type-information interfaces provided by an object. |
|
Provides access to properties and methods exposed by an object. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have
different include file and Library requirements
For more information, see Setting Up the Build Environment |