共用方式為


CBasePin::IncrementTypeVersion

 
Microsoft DirectShow 9.0

CBasePin::IncrementTypeVersion

The IncrementTypeVersion method increments the version number on the set of preferred media types.

Syntax

  void IncrementTypeVersion(void);

Remarks

This method increments the CBasePin::m_TypeVersion member variable. If the pin dynamically changes the list of preferred media types, call this method whenever the list changes. For more information, see CBasePin::GetMediaTypeVersion.

Requirements

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

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

See Also