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.
A version of this page is also available for

This class is a base class that implements the IDispatchinterface for use in a dual interface. A dual interfaceprovides Automation and custom interface access to an interface.

CMediaControland CMediaPosition(and other dual-interface support classes) are derived from this class or have members that are instances of this class.

For more information about the IDispatchmethods, see the COM documentation included with the Microsoft Platform Software Development Kit (SDK).

Member Functions

Member function Description


Constructs a CBaseDispatchobject.

Implemented IDispatch Methods

Method Description


Maps a single member function and an optional set of parameters to a corresponding set of integer dispatch identifiers, which can be used upon subsequent calls to the IDispatch::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.


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