LEADTOOLS TWAIN C DLL Help > Quick Reference > Data Types > LTWAINSOURCEINFO |
typedef struct _LTWAINSOURCEINFO
{
L_UINT uStructSize;
L_TCHAR * pszTwnSourceName;
L_TCHAR * pszTwnProductFamily;
L_TCHAR * pszTwnManufacturer;
} LTWAINSOURCEINFO, * pLTWAINSOURCEINFO;
The LTWAINSOURCEINFO structure provides information about the available TWAIN source.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
pszTwnSourceName |
Character string that contains the name of the TWAIN source. |
pszTwnProductFamily |
Character string that contains the scanner product family name. |
pszTwnManufacturer |
Character string that contains the manufacturer name of the scanner. |
Comments
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 function.