WIA Error Information
The Windows Image Acquisition (WIA)APIs return their completion status in an HRESULT return value. Applications check these return values against the FACILITY_WIA constant to determine whether the error requires user intervention to clear, such as a jammed paper path, and report them to the user. In addition, all driver-level errors are logged in detail to the event log, using error strings provided by the device minidriver. For a listing of WIA-specific error codes, see Error Codes.