ILMMixCapSrc::GetStream

Summary

Retrieves the stream at the specified index.

Syntax

#include "ilmmixcapsrc.h"
Platform Syntax
C HRESULT ILMMixCapSrc_GetStream(pMixCapSrc, index, stream)
C++ HRESULT GetStream(index, stream)

Parameters

ILMMixCapSrc * pMixCapSrc

Pointer to an ILMMixCapSrc interface.

LONG index

A zero-based index of the stream to retrieve.

ILMMixCapSrcStream **stream

Pointer to a variable that receives the interface pointer for the stream.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

If the function succeeds, the user should release the retrieved interface pointer stream by calling the interfaces Release method.

To add a new stream, call ILMMixCapSrc::AddStream.

To delete a stream at the specified index, call ILMMixCapSrc::DeleteStream.

To delete all streams, call ILMMixCapSrc::DeleteAllStreams.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Help Version 23.0.2024.7.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.