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.
Size of the APPLICATIONDATA structure in bytes, for versioning. Use the sizeof() operator to calculate the value.
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).
Character string that contains the manufacturer's name (optional).
Character string that contains the application product family (optional).
Character string that contains the version info (optional).
Character string that contains the application name (optional).
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.
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.
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.