Share via


CBasePin::EnumMediaTypes

Provides an enumerator for this pin's preferred media types.

HRESULT EnumMediaTypes(
  IEnumMediaTypes** ppEnum
);

Parameters

  • ppEnum
    Pointer to an enumerator for the media types.

Return Values

Returns an HRESULT value.

Remarks

This member function implements the IPin::EnumMediaTypes method. It returns an enumerator object implemented by the CEnumMediaTypes class and obtains the IEnumMediaTypes interface, which adds a reference count to this enumerator. If an application receives an enumerator, the application must release this when done with it by calling IUnknown::Release on the enumerator.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.