IltmmAudioInputs::Item

#include "ltmm.h"

C Syntax

HRESULT IltmmAudioInputs_Item(pInputs, Index, pAudioInput)

C++ Syntax

HRESULT Item(Index, pAudioInput)

 

IltmmAudioInputs *pInputs;

/* pointer to an interface */

long Index;

/* index */

IltmmAudioInput ** pAudioInput;

/* pointer to a pointer */

Retrieves a pointer to an interface that references the audio input object at the specified index.

Parameter

Description

pInputs

Pointer to an IltmmAudioInputs interface.

Index

Zero based index of the audio input for which to retrieve the interface.

pAudioInput

Pointer to a variable to be updated with a pointer to an IltmmAudioInput interface. This interface references the audio input item at the specified index.

Returns

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.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

IltmmAudioInputs::get_Count, IltmmAudioInputs::Find

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmAudioInput::get_Bass Example for C.

For a C++ example, refer to IltmmAudioInput::get_Bass Example for C++.