Compartir a través de


IMediaStreamFilter::AddMediaStream

 
Microsoft DirectShow 9.0

IMediaStreamFilter::AddMediaStream

  • Note   This interface is deprecated. New applications should not use it.

The AddMediaStream method connects a media stream object to the underlying filter graph.

Syntax

  HRESULT AddMediaStream(
    IAMMediaStream *pAMMediaStream
);

Parameters

pAMMediaStream

[in] Pointer to the media stream object's IAMMediaStream interface.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_OUTOFMEMORY Insufficient memory
MS_E_PURPOSEID Duplicate purpose ID
S_OK Success

See Also