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 the LTWAINSOURCEINFO structure, in bytes, for versioning. Use the sizeof() macro to calculate the value. |
pszTwainSourceName |
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 a 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 LTwain::SourceInfoCallBack function.