IWiaPropertyStorage interface

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

Members

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

Methods

The IWiaPropertyStorage interface has these methods.

MethodDescription
GetCount

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

GetPropertyAttributes

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

GetPropertyStream

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

SetPropertyStream

The IWiaPropertyStorage::SetPropertyStream sets the property stream of an item in the tree of IWiaItem objects of a 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 MethodsDescription
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 MethodsDescription
IUnknown::QueryInterface Returns pointers to supported interfaces.
IUnknown::AddRef Increments reference count.
IUnknown::Release Decrements reference count.

 

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wia.h

Library

Wiaguid.lib

DLL

Wiaservc.dll

See also

IPropertyStorage

 

 

Community Additions

ADD
Show:
© 2014 Microsoft