#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. |
Win32, x64
See Also
|
Elements: |
|
|
Topics: |
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++.