wiasSetValidListGuid function (wiamdef.h)
The wiasSetValidListGuid function sets valid values for a WIA_PROP_LIST property of type VT_CLSID.
Syntax
HRESULT wiasSetValidListGuid(
[in] BYTE *pWiasContext,
PROPID propid,
ULONG ulCount,
GUID guidNom,
[in] GUID *pguidValues
);
Parameters
[in] pWiasContext
Pointer to a WIA item context.
propid
Specifies the identifier of the property to be updated.
ulCount
Specifies the number of items in the pgValues array.
guidNom
Specifies the property's nominal value.
[in] pguidValues
Pointer to the first element of an array of valid property values.
Return value
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).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Microsoft Windows Me and in Windows XP and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | wiamdef.h (include Wiamdef.h) |
Library | Wiaservc.lib |
DLL | Wiaservc.dll |