Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
typedef struct _APPLICATIONDATA
{
L_UINT uStructSize;
HWND hWnd;
L_TCHAR szManufacturerName
[34];
L_TCHAR szAppProductFamily[34];
L_TCHAR szVersionInfo [34];
L_TCHAR szAppName [34];
L_UINT16 uLanguage;
L_UINT16 uCountry;
} APPLICATIONDATA, * pAPPLICATIONDATA;
The APPLICATIONDATA structure provides information about an application data.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
hWnd |
Handle to the parent window to be used with the TWAIN initialization process. This must be a valid window handle (may not be set to NULL). |
szManufacturerName |
Character string that contains the manufacturer's name (optional). |
szAppProductFamily |
Character string that contains the application product family (optional). |
szVersionInfo |
Character string that contains the version info (optional). |
szAppName |
Character string that contains the application name (optional). |
uLanguage |
The primary language for your Source or application. Use the constants for the CAP_LANGUAGE capability found in the Twain Specification. i.e. TWLG_ENGLISH_USA, TWLG_GERMAN, etc. See www.twain.org for a link to the Twain Specification. |
uCountry |
The primary country where your Source or application is intended to be distributed. i.e. TWCY_USA, TWCY_GERMANY, etc. For a list of possible values, see "Data Types and Data Structures" section under "Constants" in the Twain Specification. |
Comments
pAPPLICATIONDATA is a pointer to a APPLICATIONDATA structure. Where the function parameter type is pAPPLICATIONDATA, you can declare an APPLICATIONDATA variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pAPPLICATIONDATA variable is necessary only if your program requires a pointer.
APPLICATIONDATA is used with the L_TwainInitSession function.