Herd Software Development
DaVinci Graphics Library
Sets the Scan resolution in Dot Per Inch used for the next call to TWAINAquireExt.
BOOL FAR PASCAL TWAINSetResolution(
|hta||Handle to TWAIN memory created by TWAINInitialize|
|uDPI||Determines the resolution Dot Per Inch. An inch = 25,4 millimeters|
|dwReserved||Reserved for future use. Applications always specify 0.|
The returned value is TRUE if setting the resolution was successful. It is FALSE in case of an error.
The data source needs to be opened to set the resolution and therefore, the data source manager is necessarily also opened. An error can occur if the data source does not support setting the resolution or if opening the data source failed.
Þ problems with TWAIN - implementations
Þ function TWAINAquireExt
Þ function TWAINSetRect
Þ function TWAINCallDS
Þ function TWAINIsDSMOpen