wiasSetValidRangeFloat - NtDoc

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

HRESULT wiasSetValidRangeFloat(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       FLOAT  fMin,
       FLOAT  fNom,
       FLOAT  fMax,
       FLOAT  fStep
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

wiasSetValidRangeFloat function

Description

The wiasSetValidRangeFloat function specifies the range of valid values for a WIA_PROP_RANGE property of type VT_R4.

Parameters

pWiasContext [in]

Pointer to a WIA item context.

propid

Specifies the identifier of the property to be updated.

fMin

Specifies the minimum value of the valid range.

fNom

Specifies the property's nominal value.

fMax

Specifies the maximum value of the valid range.

fStep

Specifies the increment between each valid value in the range.

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

wiasSetValidFlag

wiasSetValidListFloat

wiasSetValidListGuid

wiasSetValidListLong

wiasSetValidListStr

wiasSetValidRangeLong