Compartir a través de


CBasePin::EnumMediaTypes (Windows CE 5.0)

Send Feedback

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.

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.