Поделиться через


CMediaPosition Class (Windows Embedded CE 6.0)

1/6/2010

Ee493610.769f5177-6009-4946-857d-3ee586574295(en-US,WinEmbedded.60).gif

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

The CMediaPosition::GetIDsOfNames, CMediaPosition::GetTypeInfo, CMediaPosition::GetTypeInfoCount, and CMediaPosition::Invoke methods are standard implementations of the IDispatch interface using the CBaseDispatch class (and a type library) to parse the commands and pass them to the pure virtual IMediaPosition methods.

Member Functions

Member function Description

CMediaPosition

Constructs a CMediaPosition object.

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::Invoke member 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
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Classes