Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 |
IMultiMediaStream::EnumMediaStreams
- Note This interface is deprecated. New applications should not use it.
The EnumMediaStreams method retrieves a media stream object, specified by index.
Syntax
HRESULT EnumMediaStreams( long Index, IMediaStream **ppMediaStream );
Parameters
Index
[in] Zero-based index of the media 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.
| Return code | Description |
| E_POINTER | NULL pointer argument. |
| S_FALSE | Index is out of range. |
| S_OK | Success. |
Remarks
If the return value is S_OK, the caller must release the IMediaStream interface.
See Also