Sets the media type for the connection to use.
HRESULT SetMediaType( const CMediaType*mt );
Pointer to an output media type to be used.
Returns an HRESULT value (NOERROR by default).
This member function overrides the CBasePin::SetMediaType member function and calls the CTransformFilter::SetMediaType member function with the direction set to output. Override CTransformFilter::SetMediaType to handle any conditions that you want handled at this time in the connection process.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.