Queries whether the device is currently selected.
|C||HRESULT IltmfDevice_get_Selected(pDevice, pVal)|
Pointer to an IltmfDevice interface.
Pointer to a variable that determines whether the device is currently selected.
|VARIANT_TRUE||The device is currently selected.|
|VARIANT_FALSE||The device is not currently selected.|
|S_OK||The function was successful.|
|<> S_OK||An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation.|
For an example, refer to Selecting ltmfCapture Object Devices for C++.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries