IMediaObjectImpl.InternalCheckOutputType Method

IMediaObjectImpl

An NDoc Documented Class Library

IMediaObjectImpl.InternalCheckOutputType Method 

(Abstract) Determine whether the output stream supports a specific media type

protected abstract int InternalCheckOutputType(
   int dwOutputStreamIndex,
   AMMediaType pmt
);

Parameters

dwOutputStreamIndex
pmt
The media type to check

Return Value

S_OK if the specified stream supports the specified media type, else DMOResults.E_InvalidType

Remarks

This method is called by the abstract class. The implementor should check the properties of the AMMediaType to ensure that if requested, it can produce an output sample of the specified type.

See Also

IMediaObjectImpl Class | MediaObjectTemplate Namespace