IltmmAudioInputs::put_Enable
#include "ltmm.h"
C Syntax |
HRESULT IltmmAudioInputs__put_Enable(pInputs, newVal) |
C++ Syntax |
HRESULT put_Enable(newVal) |
IltmmAudioInputs *pInputs; |
/* pointer to an interface */ |
VARIANT_BOOL newVal; |
/* pointer to a variable */ |
Sets the master (all inputs) enable status.
Parameter |
Description |
|
pInputs |
Pointer to an IltmmAudioInputs interface. |
|
newVal |
Value that indicates whether the current input will be enabled. Possible values are: |
|
|
Value |
Meaning |
|
VARIANT_TRUE |
Enable the currently selected input. |
|
VARIANT_FALSE |
Disable all inputs. |
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: |
|
Topics: |
Example
For a C example, refer to IltmmAudioInputs::put_Enable Example for C.
For a C++ example, refer to IltmmAudioInputs::put_Enable Example for C++.