Back to FabImage Library website

You are here: Start » Function Reference » Camera Support » WebCamera » WebCamera_ListDevices

WebCamera_ListDevices


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Generates a list of web camera devices available in the system.

Syntax

void fil::WebCamera_ListDevices
(
	WebCamera_GrabImageState& ioState,
	ftl::Array<fil::WebCameraDevice>& outDevices
)

Parameters

Name Type Default Description
Input will be modified ioState WebCamera_GrabImageState& Object used to maintain state of the function.
Output value outDevices Array<WebCameraDevice>&

Description

This filter generates a list of devices compatible with the WebCamera_GrabImage filter that are at the moment present in the system (installed and plugged in). A single device in a list is represented by a structure of two elements:

  • Name - a friendly name intended to be displayed in the user interface. This value might not be unique in the system.
  • ID - a unique identifier of the device, not intended to be readable by users, that can be used on the inCameraID input of the WebCamera_GrabImage filter.

See Also