// wiamdef.h
HRESULT wiasSetValidListGuid(
[in] BYTE *pWiasContext,
PROPID propid,
ULONG ulCount,
GUID guidNom,
[in] GUID *pguidValues
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSetValidListGuid function sets valid values for a WIA_PROP_LIST property of type VT_CLSID.
pWiasContext [in]Pointer to a WIA item context.
propidSpecifies the identifier of the property to be updated.
ulCountSpecifies the number of items in the pgValues array.
guidNomSpecifies the property's nominal value.
pguidValues [in]Pointer to the first element of an array of valid property values.
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).