// wiamdef.h
HRESULT wiasWritePropStr(
[in] BYTE *pWiasContext,
PROPID propid,
[in, optional] BSTR bstr
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasWritePropStr function writes a single string property value to a WIA item.
pWiasContext [in]Pointer to a WIA item context.
propidSpecifies the property identifier.
bstr [in, optional]Specifies the string property value 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).