// wiamdef.h
HRESULT wiasSetValidListLong(
[in] BYTE *pWiasContext,
PROPID propid,
ULONG ulCount,
LONG lNom,
LONG *plValues
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSetValidListLong function sets the valid values for a WIA_PROP_LIST property of type VT_I4.
pWiasContext [in]Pointer to a WIA item context.
propidSpecifies the identifier of the property to be updated.
ulCountSpecifies the number of items in the plValues array.
lNomSpecifies the property's nominal value.
plValuesPointer 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).