Export (0) Print
Expand All

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 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.
Public MethodsDescription
CMediaPosition Constructor method.
IDispatch Methods Description
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.

 

Requirements

Header

Ctlutil.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

DirectShow Base Classes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft