IMultiMediaStream::EnumMediaStreams method
Note This interface is deprecated. New applications should not use it.
EnumMediaStreams method retrieves a media stream object, specified by index.
Syntax
HRESULT EnumMediaStreams(
long Index,
IMediaStream **ppMediaStream
);
Parameters
Index
Zero-based index of the media stream to retrieve.
ppMediaStream
Address of a variable that receives an IMediaStream interface pointer.
Return value
Returns an HRESULT value. Possible values include the following.
| Return code | Description |
|---|---|
|
NULL pointer argument. |
|
Index is out of range. |
|
Success. |
Remarks
If the return value is S_OK, the caller must release the IMediaStream interface.
Requirements
| Target Platform | Windows |
| Header | mmstream.h |