Queries whether the capture device configuration dialog is available.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsLiveStreamDevConfig_HasDialog(pLiveStreamDevConfig, id, pVal) |
| C++ | HRESULT HasDialog(id, pVal) |
Pointer to an IltmsLiveStreamDevConfig interface.
Dialog ID to query. See the ltmsLiveStreamDlg Enumeration Constants for a list of possible values.
Pointer to a boolean variable that receives whether the specified dialog is available. VARIANT_TRUE indicates that the dialog is available. Otherwise, the value is VARIANT_FALSE.
| 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. |
You must lock the capture devices with IltmsLiveStreamDevConfig::LockDevices before calling this function.
Win32, x64.
For a C++ example, refer to the Create or Replace Live Stream Example for C++.