APPLICATIONDATA

typedef struct _APPLICATIONDATA 
{ 
   L_UINT uStructSize; 
   HWND hWnd; 
   L_TCHAR szManufacturerName [256]; 
   L_TCHAR szAppProductFamily [256]; 
   L_TCHAR szVersionInfo [32]; 
   L_TCHAR szAppName [256]; 
   L_UINT16 uLanguage; 
   L_UINT16 uCountry; 
} APPLICATIONDATA,  * pAPPLICATIONDATA; 

The APPLICATIONDATA structure provides information about an application data.

Members

L_UINT uStructSize

Size of the APPLICATIONDATA structure in bytes, for versioning. Use the sizeof() operator to calculate the value.

HWND hWnd

Handle to the parent window to be used with the TWAIN initialization process. This must be a valid window handle (and it can be set to NULL).

L_TCHAR szManufacturerName [256]

Character string that contains the manufacturer's name (optional).

L_TCHAR szAppProductFamily [256]

Character string that contains the application product family (optional).

L_TCHAR szVersionInfo [32]

Character string that contains the version info (optional).

L_TCHAR szAppName [256]

Character string that contains the application name (optional).

L_UINT16 uLanguage

The primary language (i.e., TWLG_ENGLISH_USA, TWLG_GERMAN, etc.) for your Source or application. Use the constants for the CAP_LANGUAGE capability found in the TWAIN specification.  See the TWAIN specification.

L_UINT16 uCountry

The primary country (i.e., TWCY_USA, TWCY_GERMANY, etc.) where your Source or application is intended to be distributed. For a list of possible values, see the TWAIN specification.

Comments

pAPPLICATIONDATA is a pointer to an 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 LTwain::InitSession function.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.