SafeWia object
The SafeWia object is a "safe for scripting" entry point for all Windows Image Acquisition (WIA) scripting functionality. Any application that uses the WIA scripting model must create a SafeWia or Wia object. Use that object to enumerate and create devices and to receive notification of hardware events.
Members
The SafeWia object has these types of members:
Methods
The SafeWia object has these methods.
Method | Description |
---|---|
Create | The Create method of the Wia object makes a connection to the specified WIA device, and returns an Item object that represents the device. |
Properties
The SafeWia object has these properties.
Property | Access type | Description |
---|---|---|
Devices |
Read-only |
Collection of DeviceInfo objects that represents all of the devices installed on the computer. Read-only. Note: This collection is 0-based. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
DLL |
|
IID |
CLSID_SafeWia |
See also