IWiaImageFilter::ApplyProperties method

Enables the image processing filter to write properties back to the driver (and device).

Syntax

HRESULT ApplyProperties(
  [in] IWiaPropertyStorage *pWiaPropertyStorage
);

Parameters

pWiaPropertyStorage [in]

Type: IWiaPropertyStorage*

Specifies a pointer to the IWiaPropertyStorage for the properties to be applied.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Do not call this method directly from your application. It is called by Windows Image Acquisition (WIA) 2.0 after the image processing filter has processed the raw data.

pWiaPropertyStorage is the IWiaPropertyStorage interface into which the image processing filter should write properties. An image processing filter should use only the IPropertyStorage::WriteMultiple method to write properties.

This method allows the image processing filter to write properties back to the driver (and device). This may be necessary for filters that implement features such as auto-exposure during film scanning.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wia.h
IDL
Wia.idl