CBasePin::GetMediaTypeVersion (Windows CE 5.0)

Send Feedback

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

virtual LONG GetMediaTypeVersion( );

Parameters

None.

Return Values

Returns the value of m_TypeVersion by 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.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.