CAP_EXTENDEDCAPS

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_EXTENDEDCAPS

CAP_EXTENDEDCAPS

Description

Allows the application and Source to negotiate capabilities to be used in States 5, 6 and 7.

Application

MSG_GET and MSG_GETCURRENT return an array of the capabilities the Source supports in States 5, 6 and 7. If either the Source or the application is older than TWAIN 2.3, use MSG_GET to get the list of allowed capabilities, and MSG_GETCURRENT to check the capabilities currently set.

MSG_SET is only needed with Sources older than TWAIN 2.3, to set the capabilities the application wants to negotiate in States 5, 6 and 7.

Stated another way, beginning with TWAIN 2.3 CAP_EXTENDEDCAPS works more like CAP_SUPPORTEDCAPS; it should be treated as a read only array, but data sources must still permit MSG_SET and MSG_RESET operations for legacy applications.

Values

Type: TW_UINT

Value after MSG_OPENDS: (all values supported by the data source) After MSG_RESET/MSG_RESETALL: (all values supported by the data source) Allowed Values: Any xCAP_xxxx

Containers

MSG_GET TW_ARRAY

MSG_GETCURRENT TW_ARRAY

MSG_GETDEFAULT TW_ARRAY

MSG_SET TW_ONEVALUE TW_ARRAY

MSG_SETCONSTRAINT TW_ONEVALUE

TW_ARRAY

MSG_RESET TW_ARRAY

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

None

TWAIN Version Introduced

Version 1.0

Related

CAP_SUPPORTEDCAPS

TWAIN Notice

Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET