DeviceInfo object
The DeviceInfo object provides access to the properties of a Windows Image Acquisition (WIA) hardware device. It also, through its Create method, provides a way for the application or script to connect to the device and obtain an Item object that represents the device. Use the Devices method to obtain a collection of DeviceInfo objects.
Members
The DeviceInfo object has these types of members:
Methods
The DeviceInfo object has these methods.
Method | Description |
---|---|
Create | The Create method of the DeviceInfo object makes a connection to the WIA device specified by the DeviceInfo object, and returns an Item object that represents the device. |
GetPropById | The GetPropById method of the DeviceInfo object uses a device property's ID to return its value. |
Properties
The DeviceInfo object has these properties.
Property | Access type | Description |
---|---|---|
Id |
Read-only |
Retrieves the ID of the WIA hardware device. |
Manufacturer |
Read-only |
Retrieves the name of the manufacturer of this hardware device. |
Name |
Read-only |
The name of the WIA hardware device as it appears in the UI. |
Port |
Read-only |
Retrieves the port to which the WIA hardware device is connected. |
Type |
Read-only |
Retrieves the type of WIA hardware device. Possible values are:
|
UIClsid |
Read-only |
Retrieves the class id of the manufacturer-provided user interface for this WIA hardware device. The value is a string representation of a GUID. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
DLL |
|