The LTWAINSOURCEINFO structure provides information about the available TWAIN source.
typedef struct _LTWAINSOURCEINFO
{
L_UINT uStructSize;
L_TCHAR * pszTwnSourceName;
L_TCHAR * pszTwnProductFamily;
L_TCHAR * pszTwnManufacturer;
TWAIN_VERSION TwainVersion;
} LTWAINSOURCEINFO, * pLTWAINSOURCEINFO;
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
Character string that contains the name of the TWAIN source.
Character string that contains the scanner's product family name.
Character string that contains the manufacturer's name of the scanner.
Enumeration value that specifies the TWAIN version currently being used.
pLTWAINSOURCEINFO is a pointer to an LTWAINSOURCEINFO structure. Where the function parameter type is pLTWAINSOURCEINFO, you can declare an LTWAINSOURCEINFO variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLTWAINSOURCEINFO variable is necessary only if your program requires a pointer.
LTWAINSOURCEINFO is used with the LTWAINSOURCEINFOCALLBACK, L_TwainGetSources, and TWAIN_VERSION functions.