LTWAINSOURCE

typedef struct _LTWAINSOURCE
{

   L_UINT uStructSize;
   L_TCHAR * pszTwainSourceName; 
} LTWAINSOURCE,  * pLTWAINSOURCE;

The LTWAINSOURCE structure provides information about the available TWAIN source.

Member

Description

uStructSize

Size of the LTWAINSOURCE structure, in bytes, for versioning. Use the sizeof() macro to calculate the value.

pszTwainSourceName

Character string that contains the name of the required TWAIN source.

Comments

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.