Share via


DeviceEvent Object

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

Members Table

The following table lists the members exposed by the DeviceEvent object.

Property Description
Description (DeviceEvent) Retrieves the DeviceEvent description.
EventID Retrieves the EventID Constants for this DeviceEvent.
Name (DeviceEvent) Retrieves the DeviceEvent name.
Type (DeviceEvent) 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.

Object Information

CLSID Not available
Minimum operating systems Windows XP SP1