typedef struct _LTWAINSOURCE
{
L_UINT uStructSize;
L_TCHAR * pszTwainSourceName;
} LTWAINSOURCE, * pLTWAINSOURCE;
The LTWAINSOURCE structure provides information about the available TWAIN source.
Data Type | Member | Description |
---|---|---|
L_UINT | uStructSize | Size of the LTWAINSOURCE structure, in bytes, for versioning. Use the sizeof() operator to calculate the value. |
L_TCHAR | pszTwainSourceName | Character string that contains the name of the required TWAIN source. |
pLTWAINSOURCE is a pointer to a LTWAINSOURCE structure. Where the function parameter type is pLTWAINSOURCE, you can declare an LTWAINSOURCE variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLTWAINSOURCE variable is necessary only if your program requires a pointer.
LTWAINSOURCE is used with the LTwain::SelectSource function.