// wiamdef.h
HRESULT wiasSetPropChanged(
PROPID propid,
[in] WIA_PROPERTY_CONTEXT *pContext,
BOOL bChanged
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSetPropChanged function modifies a property context to indicate that a property is being changed.
propidSpecifies the property identifier of the property being changed.
pContext [in]Pointer to a WIA_PROPERTY_CONTEXT structure that contains the current property context.
bChangedSpecifies the BOOL value that is used to set a particular element in the array pointed to by the pChanged member of a WIA_PROPERTY_CONTEXT structure. See the Remarks section for more details.
On success, the function returns S_OK. If the function fails, it returns a standard COM error or one of the WIA_ERROR_XXX errors (described in the Microsoft Windows SDK documentation).
The pChanged member of the WIA_PROPERTY_CONTEXT structure points to an array of BOOL values that indicate whether a particular property will be changed. This function sets one element in that array for the specified property in the property context. This function should be used whenever a driver changes a property that has dependent properties in validation. For example, by changing "Current Intent", the "Horizontal Resolution" is changed and should be marked as changed, so that validation of "X Resolution" (WIA_IPS_XRES)and its dependents still takes place.