// wiamdef.h
HRESULT wiasSetValidFlag(
[in] BYTE *pWiasContext,
PROPID propid,
ULONG ulNom,
ULONG ulValidBits
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSetValidFlag function sets the valid values for a WIA_PROP_FLAG property.
pWiasContext [in]Pointer to a WIA item context.
propidSpecifies the identifier of the property to be updated.
ulNomSpecifies the property's nominal value.
ulValidBitsSpecifies the valid bits that can be used for the WIA_PROP_FLAG property.
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).