IMediaObjectImpl.InternalCheckInputType Method

IMediaObjectImpl

An NDoc Documented Class Library

IMediaObjectImpl.InternalCheckInputType Method 

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

protected abstract int InternalCheckInputType(
   int dwInputStreamIndex,
   AMMediaType pmt
);

Parameters

dwInputStreamIndex
Input stream number
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 a sample of the specified type is sent, it will be able to process it.

See Also

IMediaObjectImpl Class | MediaObjectTemplate Namespace