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

This class is a base class that handles the IDispatchmethods of the dual-interface IMediaPosition. It leaves the properties and methods as pure virtual.

The CMediaPosition::GetIDsOfNames, CMediaPosition::GetTypeInfo, CMediaPosition::GetTypeInfoCount, and CMediaPosition::Invokemethods are standard implementations of the IDispatchinterface using the CBaseDispatchclass (and a type library) to parse the commands and pass them to the pure virtual IMediaPositionmethods.

Member Functions

Member function Description

CMediaPosition

Constructs a CMediaPositionobject.

Implemented INonDelegatingUnknown Methods

Method Description

NonDelegatingQueryInterface

Returns a specified reference-counted interface.

Implemented IDispatch Methods

Method Description

GetIDsOfNames

Maps a single member and an optional set of parameters to a corresponding set of integer dispatch identifiers, which can be used during subsequent calls to the CMediaPosition::Invokemember function.

GetTypeInfo

Retrieves a type-information object, which can retrieve the type information for an interface.

GetTypeInfoCount

Retrieves the number of type-information interfaces provided by an object.

Invoke

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