IVideoDeviceCollection
You can get the information of video devices with this interface.
getCount
Gets the total number of the indexed video devices in the system.
Returns
The total number of the indexed video devices in the system.
getDevice
Gets a specified piece of information about an indexed video device.
Returns
release
Releases all the resources occupied by the IVideoDeviceCollection object.
setDevice
Specifies a device with the device ID.
Parameters
- deviceId
- The device ID. Connecting or disconnecting the audio device does not change the value of deviceId.
Returns
- 0: Success.
- < 0: Failure.