wiasSetValidListStr - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wiamdef.h

HRESULT wiasSetValidListStr(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       ULONG  ulCount,
       BSTR   bstrNom,
  [in] BSTR   *bstrValues
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wiamdef-wiassetvalidliststr)

Description

The wiasSetValidListStr function sets the valid values for a WIA_PROP_LIST property of type VT_BSTR.

Parameters

pWiasContext [in]

Pointer to a WIA item context.

propid

Specifies the identifier of the property to be updated.

ulCount

Specifies the number of items in the pbstrValues array.

bstrNom

Specifies the nominal value of the property.

bstrValues [in]

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.

See also

wiasSetValidFlag

wiasSetValidListFloat

wiasSetValidListGuid

wiasSetValidListLong

wiasSetValidRangeFloat

wiasSetValidRangeLong