Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

WIA Event Identifiers

WIA event identifiers are globally unique identifiers (GUID) defined by the Windows Image Acquisition (WIA) system.

A WIA application can subscribe to these non-persistent events by using IwiaDevMgr2::RegisterEventCallbackInterface to receive device status change notifications from the WIA device to which the current WIA application session is connected. The WIA mini-driver must ensure that WIA_DPS_DOCUMENT_HANDLING_STATUS is correctly updated before the driver signals one of these events.

The following are valid WIA event GUIDs:

GUIDMeaning
WIA_EVENT_CANCEL_IOThe application attempts to cancel a data transfer.
WIA_EVENT_COVER_CLOSEDAll scanner covers are closed. If there were multiple scanner covers opened, the WIA minidriver should signal this event only when the last cover was closed. This feature is available starting with Windows 8.
WIA_EVENT_COVER_OPENA scanner cover was opened by the operator. The device cannot scan at this time. The WIA minidriver should signal this event only once if multiple scanner covers are opened in succession. This feature is available starting with Windows 8.
WIA_EVENT_DEVICE_CONNECTEDA WIA hardware device was connected to the user's computer or started.
WIA_EVENT_DEVICE_DISCONNECTEDA WIA hardware device was disconnected from the user's computer or stopped.
WIA_EVENT_DEVICE_NOT_READYThe device entered not-ready state. The application should read WIA_DPS_DOCUMENT_HANDLING_STATUS for more information. This feature is available starting with Windows 8.
WIA_EVENT_DEVICE_READYThe device entered ready state. The previous not-ready state signaled with WIA_EVENT_DEVICE_NOT_READY was cleared. This feature is available starting with Windows 8.
WIA_EVENT_FEEDER_EMPTIEDThe operator removed all documents from the feeder input tray and the feeder is empty. The device cannot scan from the feeder at this time. Important: the minidriver must not signal this event when the feeder becomes empty as result of a scan job executed by an application. This feature is available starting with Windows 8.
WIA_EVENT_FEEDER_LOADEDThe operator placed documents in the feeder input tray. The feeder is loaded with paper. The application can initiate a scan job from the feeder at this time. This feature is available starting with Windows 8.
WIA_EVENT_FLATBED_LID_CLOSEDThe flatbed lid was closed by the operator. The application can initiate a scan job from the flatbed at this time. This feature is available starting with Windows 8.
WIA_EVENT_FLATBED_LID_OPENThe flatbed lid was opened by the operator. The device cannot scan from the flatbed at this time. This feature is available starting with Windows 8.
WIA_EVENT_ITEM_CREATEDAn item was added to the tree of IWiaItem or IWiaItem2 objects for a WIA device.
WIA_EVENT_ITEM_DELETEDAn item was deleted from the tree of IWiaItem or IWiaItem2 objects for a WIA device.
WIA_EVENT_POWER_RESUMEPower has been restored to the device or computer.
WIA_EVENT_POWER_SUSPENDPower has been suspended to the device or computer.
WIA_EVENT_SCAN_EMAIL_IMAGEA scan was initiated with the intent to e-mail the resulting image.
WIA_EVENT_SCAN_FAX_IMAGEA scan was initiated with the intent to fax the resulting image.
WIA_EVENT_SCAN_FILM_IMAGEAn image was scanned from a film adapter.
WIA_EVENT_SCAN_IMAGEAn image was scanned.
WIA_EVENT_SCAN_IMAGE2An image was scanned. This event allows scanners with more than one scan button to direct the buttons to different applications.
WIA_EVENT_SCAN_IMAGE3An image was scanned. This event allows scanners with more than one scan button to direct the buttons to different applications.
WIA_EVENT_SCAN_IMAGE4An image was scanned. This event allows scanners with more than one scan button to direct the buttons to different applications.
WIA_EVENT_SCAN_OCR_IMAGEA scan was initiated with the intent to convert the resulting image with optical character recognition (OCR).
WIA_EVENT_SCAN_PRINT_IMAGEA scan was initiated with the intent to print the resulting image.
WIA_EVENT_STI_PROXYIntended for internal use only. Do not use.
WIA_EVENT_STORAGE_CREATEDA storage unit, such as a flash card, was added to the device. The application should re-create the item tree that represents this device.
WIA_EVENT_STORAGE_DELETEDA storage unit, such as a flash card, was removed from the device. The application should re-create the item tree that represents this device.
WIA_EVENT_TREE_UPDATEDThe WIA item tree was updated.
WIA_EVENT_VOLUME_INSERTEDA storage device, such as a flash card, was inserted into the device.

 

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.