Device.ExecuteCommand method

Issues the command to the imaging device.

Syntax

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

Parameters

CommandID [in]

Type: BSTR

Required. String value with the command to the imaging device.

Return value

Type: Item**

Required. Item value.

Remarks

CommandID Constants are device dependent. Valid CommandID Constants for this device are contained in the Commands (Device) collection.

For example code, see Take a Picture in Shared Samples.

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

Reference

CommandID Constants

ShowItemProperties

ShowTransfer

Device

GetItem

CommandID

Item

ExecuteCommand (Item)

Item (Items)