typedef struct _LTWAINSOURCEINFO
{
L_UINT uStructSize;
L_TCHAR * pszTwnSourceName;
L_TCHAR * pszTwnProductFamily;
L_TCHAR * pszTwnManufacturer;
TWAIN_VERSION TwainVersion;
} 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's product family name. |
pszTwnManufacturer |
Character string that contains the manufacturer's name of the scanner. |
TwainVersion | 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.