Share via


WiaEventFlag enumeration

Supplies the bits that make up a DeviceEvent type. You can test a DeviceEvent type by using the AND operation with Type (DeviceEvent) and a member from the WiaEventFlag enumeration.

Members

Member Description Value
NotificationEvent Indicates that the DeviceEvent is intended to notify a running application that this event has occurred.
0x1
ActionEvent Indicates that the DeviceEvent can, if necessary, launch an application if this event occurs.
0x2

Remarks

Because only Action events can have persistent event handlers, it is important to test for this flag before calling RegisterPersistentEvent.

For example code, see Determine the Event Type in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl