wiasSetValidFlag - NtDoc

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

HRESULT wiasSetValidFlag(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       ULONG  ulNom,
       ULONG  ulValidBits
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

wiasSetValidFlag function

Description

The wiasSetValidFlag function sets the valid values for a WIA_PROP_FLAG property.

Parameters

pWiasContext [in]

Pointer to a WIA item context.

propid

Specifies the identifier of the property to be updated.

ulNom

Specifies the property's nominal value.

ulValidBits

Specifies the valid bits that can be used for the WIA_PROP_FLAG property.

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).

See also

wiasSetValidListFloat

wiasSetValidListGuid

wiasSetValidListLong

wiasSetValidListStr

wiasSetValidRangeFloat

wiasSetValidRangeLong