Düzenle

Aracılığıyla paylaş


IStiUSD COM Interface

The IStiUSD COM interface is the means by which the IStiDevice COM Interface communicates with still image devices. The IStiUSD interface's methods are implemented by each vendor-supplied User-Mode Still Image Minidrivers.

Typically, IStiUSD interface methods are called by similarly-named methods defined by the IStiDevice interface. Still image minidrivers typically implement IStiUSD interface methods by calling the appropriate kernel-mode driver. Each minidriver must define all interface methods, but if a method is not needed it can return STIERR_UNSUPPORTED.

The methods defined by the IStiUSD interface include the following:

IStiUSD::DeviceReset
Resets a still image device to a known, initialized state.

IStiUSD::Diagnostic
Runs diagnostic tests on a still image device.

IStiUSD::Escape
Performs a vendor-specific I/O operation on a still image device.

IStiUSD::GetCapabilities
Returns a still image device's capabilities.

IStiUSD::GetLastErrorInfo
Returns information about the last known error associated with a still image device.

IStiUSD::GetNotificationData
Returns a description of the most recent event that occurred on a still image device.

IStiUSD::GetStatus
Returns the status of a still image device.

IStiUSD::Initialize
Initializes an instance of the COM object that defines the IStiUSD interface.

IStiUSD::LockDevice
Locks a device for exclusive use by the caller.

IStiUSD::RawReadCommand
Reads command information from a still image device.

IStiUSD::RawReadData
Reads data from a still image device.

IStiUSD::RawWriteCommand
Writes command information to a still image device.

IStiUSD::RawWriteData
Writes data to a still image device.

IStiUSD::SetNotificationHandle
Specifies an event handle that the minidriver should use to inform the caller of device events. Typically called by the still image event monitor.

IStiUSD::UnLockDevice
Unlocks a device.