### QPx_AcqGetDeviceList

QPx_AcqGetDeviceList(acqProtocol; deviceNames):error
| acqProtocol | Longint | Acquisition protocol ID
| deviceNames | Array text | Array of device names
| error | Longint | Error result

Returns all devices that are available through a specific acquisition protocol.

Parameter acqProtocol is the protocol for which to return the device list. It can be one of the acquisition protocol ID constants:

qpx_AcqTWAINProtocol | 1 | TWAIN identifier
qpx_AcqPictureTransferProtocol | 2 | Picture Transfer Protocol identifier
qpx_AcqVideoProtocol | 4 | Video acquisition protocol identifier

Parameter deviceNames is a text array that receives the names of all devices that are available through acqProtocol.

If the specified protocol is not available on the current machine and OS, error qpx_couldntGetRequiredComponent is returned.

Related commands

QPx_AcqTestProtocol | Tests if an acquisition protocol is available on the current machine and OS
QPx_AcqSelectDevice | Displays the acquisition protocol and device selection dialog.

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:45:33