Herd Software Development
DaVinci Graphics Library
This function allows for the execution of a complete TWAIN scan/acquisition procedure with a single function call, allowing Leonardo to handle error-checking and message trapping. Before the function can be called, the main window for the application requesting data from the TWAIN source should be deactivated using EnableWindow, for this function replaces the applications message loop during the scal process.
HDIB FAR PASCAL TWAINGetImage(
bShowUserInterface This specifies whether or not the user will be given access during the acquisition to the selected TWAIN device's visual interface. If FALSE, no interface will be displayed and the scanning/acquisition process begins immediately.
uDummy Reserved. Applications should specify this parameter as 0.