WIA Property Validation

When an application performs an IPropertyStorage::WriteMultiple operation on any writeable Windows Image Acquisition (WIA) property, the WIA driver performs a validation on the new property value. Writing one property may have side affects that change other property values. It is up to the application to read all property values after a write operation to determine that all properties are set to values the application desires.

Multiple properties can be written simultaneously using the IPropertyStorage::WriteMultiple operation. There may be cases where some property assignments conflict. In such cases, the priority used to resolve conflicts is as follows:

  1. WIA_IPS_CUR_INTENT
  2. WIA_IPA_DATATYPE
  3. WIA_IPA_DEPTH
  4. WIA_IPS_XRES
  5. WIA_IPS_YRES
  6. WIA_IPS_XPOS
  7. WIA_IPS_YPOS
  8. WIA_IPS_XEXTENT
  9. WIA_IPS_YEXTENT

Related topics

IWiaPropertyStorage

 

 

Community Additions

ADD
Show:
© 2014 Microsoft