QPx_AcqTestProtocol

QPx_AcqTestProtocol(acqProtocol):error
acqProtocol Longint Acquisition protocol ID
error Longint Error result

Test the availability of an acquisition protocol

Tests if an acquisition protocol is available on the current machine and OS.

Parameter acqProtocol is the protocol to test. Use one of the acquisition protocol constants:

qpx_AcqTWAINProtocol 1 TWAIN identifier
qpx_AcqPictureTransferProtocol 2 Picture Transfer Protocol identifier
qpx_AcqVideoProtocol 4 Video acquisition protocol identifier
qpx_AcqICScannerProtocol 8 Mac OS Image Capture Scanner protocol identifier

If the specified protocol is available, the command returns qpx_NoErr. If the protocol is not available, error qpx_couldntGetRequiredComponent is returned. If acqProtocol is unknown (none of the above constants), the command returns qpx_paramErr.