|C||HRESULT IltmfDevice_put_Selected(pDevice, newVal)|
Specifies whether the device is currently selected.
Pointer to an IltmfDevice interface.
Flag that determines whether the device is selected.
|VARIANT_TRUE||The device is marked as the current selection.|
|VARIANT_FALSE||The device is not marked as the current selection.|
|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