CBasePin::GetMediaTypeVersion (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual LONG GetMediaTypeVersion( );

Parameters

None.

Return Value

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

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

CBasePin Class