Displays a capture device configuration dialog.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsLiveStreamDevConfig_ShowDialog(pLiveStreamDevConfig, id, hwnd) |
| C++ | HRESULT ShowDialog(id, hwnd) |
Pointer to an IltmsLiveStreamDevConfig interface.
Dialog ID to display. See ltmsLiveStreamDialog Enumeration Constants for a list of possible values.
Dialog parent's window handle.
| 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++.