// wiamdef.h
HRESULT wiasWriteMultiple(
[in] BYTE *pWiasContext,
ULONG ulCount,
[in] const PROPSPEC *ps,
const PROPVARIANT *pv
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasWriteMultiple function writes multiple property values to a WIA item.
pWiasContext [in]Pointer to a WIA item context.
ulCountSpecifies the total number of properties to write.
ps [in]Pointer to the first element of an array of PROPSPEC structures that indicate the properties to write.
pvPointer to the first element of an array of PROPVARIANT structures that contain the values to write to the item.
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).
This function operates in a similar manner to IPropertyStorage::WriteMultiple, which is described in the Windows SDK documentation. The PROPSPEC and PROPVARIANT structures are also described in the Windows SDK documentation.