IMediaStreamFilter::GetMediaStream
Microsoft DirectShow 9.0 |
IMediaStreamFilter::GetMediaStream
- Note This interface is deprecated. New applications should not use it.
The GetMediaStream method retrieves a media stream, specified by purpose ID.
Syntax
HRESULT GetCurrentStreamTime( REFMSPID idPurpose IMediaStream **ppMediaStream );
Parameters
idPurpose
[in] Reference to an MSPID value that specifies which stream to retrieve.
ppMediaStream
[out] Address of a variable that receives an IMediaStream interface pointer.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
E_POINTER | NULL pointer argument. |
MS_E_NOSTREAM | No matching stream was found. |
S_OK | Success. |
Remarks
If the method succeeds, the caller must release the IMediaStream interface.
See Also