Share via


DeviceCommand object

Describes the CommandID Constants that you can use when you call ExecuteCommand (Device) or ExecuteCommand (Item).

Members

The DeviceCommand object has these types of members:

Properties

The DeviceCommand object has these properties.

Property Access type Description
CommandID
Read-only
Retrieves the CommandID Constants for this DeviceCommand.
Description (DeviceCommand)
Read-only
Retrieves the DeviceCommand description.
Name (DeviceCommand)
Read-only
Retrieves the DeviceCommand name.

Remarks

Note that while the most common CommandIDs are provided as constants, not all CommandIDs work for all imaging devices.

For example code, see Enumerate Supported Commands in Commands Collection in Shared Samples.

Creation\Access Functions

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

Item (DeviceCommands)

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 (DeviceCommands)