Sectors: Finance • Information Technoloy • Government • Healthcare • Industries • Education • (show all)
Uniquely identifies an interface for a Data Source, so that an Application can properly interpret its custom content.
This is a read only capability.
Use the value from this capability to interpret all of the numeric values referenced in the See Also section below.
Consider the following example, which results in three GUID’s, one for Vendor ABC and two for Vendor XYZ:
Vendor ABC’s Scanner models Fred and Wilma have a custom capability called CAP_MYFEATURE with a numeric value of x .
Vendor XYZ’s Scanner model Barney has a custom capability CAP_OURFEATURE with a numeric value of x , but their Scanner Model Betty has a different custom capability CAP_BETTERFEATURE with a numeric value of x .
The challenge for the Application is to know what x means. Historically, this has been determined from the Source’s TW_IDENTITY structure. But this is hard to maintain, and requires the Application to constantly update its recognition code, even in the case of Vendor ABC whose interface stays the same from one model to the next.
Using CAP_CUSTOMINTERFACEGUID the Application can immediately identity Vendor ABC’s unique interface, without having to check its TW_IDENTITY structure.
The Source writer is responsible for creating a GUID. This GUID guarantees that the custom numeric values have exactly the same meaning for any Source that reports that GUID.
If you need to create a GUID, but don’t know how, go to the TWAIN Working Group website and click on FAQ.
Type: TW_STR
Allowed Values: A string in GUID format
{XXXXXXXX XXXX XXXX XXXX XXXXXXXXXXXX}
MSG_GET TW_ONEVALUE MSG_GETCURRENT TW_ONEVALUE MSG_GETDEFAULT TW_ONEVALUE MSG_SET Not Allowed
MSG_RESET Not Allowed MSG_SETCONSTRAINT Not Allowed MSG_QUERYSUPPORT TW_ONEVALUE
Sources that support Custom Content.
Version 2.1
Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET
The TWAIN Toolkit is distributed as is. The developer and distributors of the TWAIN Toolkit expressly disclaim all implied, express or statutory warranties including, without limitation, the implied warranties of merchantability, noninfringement of third party rights and fitness for a particular purpose. Neither the developers nor the distributors will be liable for damages, whether direct, indirect, special, incidental, or consequential, as a result of the reproduction, modification, distribution or other use of the TWAIN Toolkit.