Share via


DeviceEvent object

Describes an EventID Constants that can be used when calling RegisterEvent or RegisterPersistentEvent on a DeviceManager object.

Members

The DeviceEvent object has these types of members:

Properties

The DeviceEvent object has these properties.

Property Access type Description
Description (DeviceEvent)
Read-only
Retrieves the DeviceEvent description.
EventID
Read-only
Retrieves the EventID Constants for this DeviceEvent.
Name (DeviceEvent)
Read-only
Retrieves the DeviceEvent name.
Type (DeviceEvent)
Read-only
Retrieves the type of this DeviceEvent.

Remarks

Note that while the most common event IDs are provided as constants, not all EventID Constants are supported for all imaging devices.

For example code, see Enumerate all the Supported Events for the Selected Device in Shared Samples.

Creation\Access Functions

Use any of the following to retrieve a reference to the object:

Item (DeviceEvents)

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