Link to home
Start Free TrialLog in
Avatar of jess5503
jess5503

asked on

Help with WIA API

Hi,

Im using WIA API (IWiaDevMgr, IWiaItem....) for scanning images to my program. After calling IWIAItem::DeviceDlg where it launches the scanning GUI and  the user had clicked the scan button,  is there a way to determine if the user choose to scan from the flatbed or automatic feeder?

Thanks.
Avatar of jess5503
jess5503

ASKER

Hi,

Just found the function to do the detection.
Can use  WIA_DPS_DOCUMENT_HANDLING_SELECT in IWiaPropertyStorage to retrieve the type. Include WIA_DPS_DOCUMENT_HANDLING_SELECT in the PROPSPEC passed in to IWiaPropertyStorage::ReadMultiple().
ASKER CERTIFIED SOLUTION
Avatar of EE_AutoDeleter
EE_AutoDeleter

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial