### QPx_AcqTestProtocol

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

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

Parameter acqProtocol is the protocol to test. 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

If the specified protocol is available, QPx_AcqTestProtocol returns qpx_NoErr. If the protocol is not available, error qpx_couldntGetRequiredComponent is returned. If acqProtocol is not one of the above constants, this command returns qpx_paramErr.

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