Microsoft Windows CE 3.0  

CBasePin::GetMediaTypeVersion

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.

Retrieves the current type version, which is used by enumerators.

virtual LONG GetMediaTypeVersion( );

Return Values

Returns the value of m_TypeVersionby default. To return new media types, override this member function.

Remarks

This is a virtual member function that returns the current media type version. The base class initializes the media type enumerators to 1. A derived class can change the list of available media types. Each time it does, it should increment the version in the overriding member function. The media type enumerators call this member function when they are called to determine if they are out of date.