description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The DeviceInfo object provides access to the properties of a Windows Image Acquisition (WIA) hardware device. |
b3cf153b-76f8-4822-8d88-331ab91a1116 |
DeviceInfo object |
reference |
05/31/2018 |
|
|
|
|
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.
The DeviceInfo object has these types of members:
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. |
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. |
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
DLL |
|