Bewerken

Delen via


wiasWritePropFloat function (wiamdef.h)

The wiasWritePropFloat function writes a single floating-point property value to a WIA item.

Syntax

HRESULT wiasWritePropFloat(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       float  fVal
);

Parameters

[in] pWiasContext

A Pointer to a WIA item context.

propid

Specifies the property identifier.

fVal

Specifies the floating-point property value to write to the item.

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

See also

wiasReadPropFloat

wiasWritePropBin

wiasWritePropGuid

wiasWritePropLong

wiasWritePropStr