Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IEnumWiaItem interface is used by applications to enumerate IWiaItem objects in the tree's current folder. The Windows Image Acquisition (WIA) run-time system represents every WIA hardware device to applications as a hierarchical tree of IWiaItem objects.
Inheritance
The IEnumWiaItem interface inherits from the IUnknown interface. IEnumWiaItem also has these types of members:
Methods
The IEnumWiaItem interface has these methods.
| IEnumWiaItem::Clone The IEnumWiaItem::Clone method creates an additional instance of the IEnumWiaItem interface and sends back a pointer to it. |
| IEnumWiaItem::GetCount The IEnumWiaItem::GetCount method returns the number of elements stored by this enumerator. |
| IEnumWiaItem::Next The IEnumWiaItem::Next method fills an array of pointers to IWiaItem interfaces. |
| IEnumWiaItem::Reset The IEnumWiaItem::Reset method is used by applications to restart the enumeration of item information. |
| IEnumWiaItem::Skip The IEnumWiaItem::Skip method skips the specified number of items during an enumeration of available IWiaItem objects. |
Remarks
The IEnumWiaItem interface is a specific implementation for WIA of the standard Component Object Model (COM) enumeration interface. For details, see IEnumXXXX.
Applications obtain a pointer to the IEnumWiaItem interface by invoking the IWiaItem::EnumChildItems method.
The IEnumWiaItem interface, like all COM interfaces, inherits the IUnknown interface methods.
| IUnknown Methods | Description |
|---|---|
| IUnknown::QueryInterface | Returns pointers to supported interfaces. |
| IUnknown::AddRef | Increments reference count. |
| IUnknown::Release | Decrements reference count. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | wia_xp.h (include Wia.h) |
See also
Conceptual
Other Resources
Reference