Partager via


_DERIVED_::InternalCheckInputType

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method queries whether an input stream can accept a given media type. The derived class must declare and implement this method.

Syntax

HRESULT InternalCheckInputType(
  DWORD dwInputStreamIndex,
  const DMO_MEDIA_TYPE* pmt
);

Parameters

  • dwInputStreamIndex
    Index of an input stream.
  • pmt
    Pointer to a DMO_MEDIA_TYPE structure that describes the media type.

Return Value

Returns S_OK if the media type is valid or otherwise returns DMO_E_INVALIDTYPE.

Requirements

Header dmoimpl.h
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DMO Reference
DMO Base Class Reference
IMediaObjectImpl Class Template
DMO_MEDIA_TYPE