Partager via


Item.ExecuteCommand method

Issues the command specified by CommandID.

Syntax

ppResult = .ExecuteCommand( _
  ByVal CommandID As BSTR _
) As HRESULT

Parameters

CommandID [in]

Type: BSTR

Required. String value.

Return value

Type: Item**

Required. Item value.

Remarks

All the imaging devices expose most of their commands on devices rather than items. CommandIDs are device dependent. Valid CommandIDs for this Item are contained in the Commands (Item) collection.

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

Reference

CommandID Constants

ShowItemProperties

ShowTransfer

ExecuteCommand (Device)

GetItem

CommandID

Item (Items)