LEADTOOLS has defined the following data types for referencing TWAIN sessions:
| Data Type | Definition and Usage |
|---|---|
| HTWAINSESSION | Defined as HANDLE; used as a handle of a TWAIN session. |
| pHTWAINSESSION | Defined as HTWAINSESSION *; used as a pointer to a TWAIN session handle. |