APPLICATIONDATA

typedef struct _APPLICATIONDATA
{
   HWND hWnd; 
   L_TCHAR zManufacturerName [256]; 
   L_TCHAR zAppProductFamily [256]; 
   L_TCHAR szVersionInfo [32]; 
   L_TCHAR szAppName [256]; 
} APPLICATIONDATA, L_FAR * pAPPLICATIONDATA;

The APPLICATIONDATA structure provides information about an application data.

Member

Description

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).

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.