Determines whether the audio type is currently selected.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsAudioType_get_Selected(pAudioType, pVal) |
| C++ | HRESULT get_Selected(pVal) |
Pointer to an IltmsAudioType interface.
Pointer to a variable to be updated with a value that indicates whether the type is currently selected. If VARIANT_TRUE, the type is selected. If VARIANT_FALSE, the type is not selected.
| 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. |
Win32, x64.
For a C++ example, refer to the Enable Live Stream Example for C++.