IWiaPropertyStorage interface (wia_xp.h)

The IWiaPropertyStorage interface is used to access information about the IWiaItem object's properties. Applications must query an item to obtain its IWiaPropertyStorage interface.

Inheritance

The IWiaPropertyStorage interface inherits from the IUnknown interface. IWiaPropertyStorage also has these types of members:

Methods

The IWiaPropertyStorage interface has these methods.

 
IWiaPropertyStorage::GetCount

The IWiaPropertyStorage::GetCount method returns the number of properties stored in the property storage.
IWiaPropertyStorage::GetPropertyAttributes

The IWiaPropertyStorage::GetPropertyAttributes method retrieves access rights and legal value information for a specified set of properties.
IWiaPropertyStorage::GetPropertyStream

The IWiaPropertyStorage::GetPropertyStream method retrieves the property stream of an item.
IWiaPropertyStorage::SetPropertyStream

The IWiaPropertyStorage::SetPropertyStream sets the property stream of an item in the tree of IWiaItem objects of a Windows Image Acquisition (WIA) hardware device.

Remarks

The IWiaPropertyStorage interface includes several methods that are very similar to the following methods from the IPropertyStorage interface. The descriptions and remarks for the IPropertyStorage version of these methods applies to the IWiaPropertyStorage as well.

IPropertyStorage Methods Description
IPropertyStorage::ReadMultiple Reads property values in a property set.
IPropertyStorage::WriteMultiple Writes property values in a property set.
IPropertyStorage::DeleteMultiple Deletes properties in a property set.
IPropertyStorage::ReadPropertyNames Gets string names that correspond to given property identifiers.
IPropertyStorage::WritePropertyNames Creates or changes string names that corresponds to given property identifiers.
IPropertyStorage::DeletePropertyNames Deletes string names for given property identifiers.
IPropertyStorage::SetClass Assigns a CLSID to the property set.
IPropertyStorage::Commit As in IStorage::Commit, flushes or commits changes to the property storage object.
IPropertyStorage::Revert When the property storage is opened in transacted mode, discards all changes since the last commit.
IPropertyStorage::Enum Creates and gets a pointer to an enumerator for properties within this set.
IPropertyStorage::Stat Receives statistics about this property set.
IPropertyStorage::SetTimes Sets modification, creation, and access times for the property set.
 

The IWiaPropertyStorage interface, like all Component Object Model (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

IPropertyStorage