Partager via


DeviceInfo object

Describes the unchanging (static) properties of an imaging device that is currently connected to the computer.

Members

The DeviceInfo object has these types of members:

Methods

The DeviceInfo object has these methods.

Method Description
Connect Establishes a connection with a device.

Properties

The DeviceInfo object has these properties.

Property Access type Description
DeviceID (DeviceInfo)
Read-only
Retrieves the DeviceID (DeviceInfo) for this DeviceInfo object.
Properties (DeviceInfo)
Read-only
Retrieves a collection of all properties for this imaging device that are applicable when the device is not connected.
Type (DeviceInfo)
Read-only
Retrieves the type of DeviceInfo object.

Remarks

You can use the Connect method to get an active connection to the imaging device described in this DeviceInfo object.

For example code, see List all Available Devices by Name and DeviceID in Shared Samples.

Creation\Access Functions

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

Item (DeviceInfos)

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

See also

Item (DeviceInfos)