Selects the device at the specified index.
|C||HRESULT IltmfDevices_put_Selection(pDevices, newVal)|
Pointer to an IltmfDevices interface.
Zero based index of the device to select. A value of 1 clears any previous 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.|
This function will select the specified device for use by the collections parent object.
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