Queries whether the device is currently selected.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsDevice_get_Selected(pDevice, pVal) |
C++ | HRESULT get_Selected(pVal) |
Pointer to an IltmsDevice interface.
Pointer to a variable that determines whether the device is currently selected. A value of VARIANT_TRUE indicates that the device is currently selected. 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. |
Win32, x64.
For a C++ example, refer to Print Capture Devices Example For C++