Share via


_DERIVED_::InternalCheckOutputType (Compact 2013)

3/26/2014

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

Syntax

HRESULT InternalCheckOutputType(
  DWORD dwOutputStreamIndex,
  const DMO_MEDIA_TYPE* pmt
);

Parameters

  • dwOutputStreamIndex
    Index of an output 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

See Also

Reference

IMediaObjectImpl Class Template
DirectX Media Objects Reference
DMO Base Class Reference
DMO_MEDIA_TYPE