CWiauPropertyList::SetValidValues(INT,CLSID*,CLSID*,INT,CLSID**) method (wiautil.h)
The CWiauPropertyList::SetValidValues(INT,CLSID,CLSID,INT,CLSID) method sets the type, as well as default, current, and valid values for a CLSID property associated with a list of values. The method also sets the property type to VT_CLSID and subtype to WIA_PROP_LIST.
Syntax
void SetValidValues(
INT index,
CLSID *defaultValue,
CLSID *currentValue,
INT numValues,
CLSID **pValues
);
Parameters
index
Specifies the property index. Set this parameter to the value in *pIdx when the CWiauPropertyList::DefineProperty method returns.
defaultValue
Specifies the default setting of the property on the device.
currentValue
Specifies the current setting of the property on the device.
numValues
Specifies the number of values in the property list.
pValues
Pointer to a memory location that contains the address of the first property in the property list. This pointer must remain valid until the CWiauPropertyList::SendToWia method is called.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h, Wiamindr.h) |