Partager via


CMediaPosition Class

 
Microsoft DirectShow 9.0

CMediaPosition Class

CMediaPosition Class Hierarchy

The CMediaPosition class handles the IDispatch methods of the IMediaPosition dual interface.

This class inherits the IMediaPosition interface but does not implement it. It implements IDispatch through the CBaseDispatch class and the Microsoft® DirectShow® type library. Do not use this class directly. Instead, use one of the following classes:

  • Source filters: Use the CSourceSeeking base class to implement seeking.
  • Transform filters: Use the CPosPassThru class to pass seeking commands upstream.
  • Renderers: Use the CRendererPosPassThru class to pass seeking commands upstream.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

Public Methods  
CMediaPosition Constructor method.
IDispatch Methods  
GetIDsOfNames Maps a set of names to a corresponding set of DISPIDs.
GetTypeInfo Retrieves the type information for the object, which can then be used to get the type information for an interface.
GetTypeInfoCount Retrieves the number of type information interfaces the object provides.
Invoke Provides access to properties and methods exposed by the object.