IltmmAudioInputs::Find

#include "ltmm.h"

C Syntax

HRESULT IltmmAudioInputs_Find(pInputs, Name, Index)

C++ Syntax

HRESULT Find(Name, Index)

IltmmAudioInputs *pInputs;

pointer to an interface

BSTR Name;

string

long *Index;

pointer to a variable

Finds an audio input item by name.

Parameter

Description

pInputs

Pointer to an IltmmAudioInputs interface.

Name

A string identifying the item to find.

Index

Pointer to a variable to be updated with the index of the specified item.

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.

Comments

The retrieved index can be used to obtain the item itself using IltmmAudioInputs::Item.

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.

Platforms

Win32, x64

See Also

Elements:

IltmmAudioInputs::Item,

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++.

Help Version 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help