// wiamdef.h
HRESULT wiasSetValidListStr(
[in] BYTE *pWiasContext,
PROPID propid,
ULONG ulCount,
BSTR bstrNom,
[in] BSTR *bstrValues
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSetValidListStr function sets the valid values for a WIA_PROP_LIST property of type VT_BSTR.
pWiasContext [in]Pointer to a WIA item context.
propidSpecifies the identifier of the property to be updated.
ulCountSpecifies the number of items in the pbstrValues array.
bstrNomSpecifies the nominal value of the property.
bstrValues [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.