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