wiasWritePropFloat 函数 (wiamdef.h)

wiasWritePropFloat 函数将单个浮点属性值写入 WIA 项。

语法

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

参数

[in] pWiasContext

指向 WIA 项上下文的指针。

propid

指定属性标识符。

fVal

指定要写入项的浮点属性值。

返回值

成功后,该函数将返回S_OK。 如果函数失败,它将返回标准 COM 错误或WIA_ERROR_XXX错误之一(Microsoft Windows SDK 文档中所述)。

要求

要求 价值
最低支持的客户端 Microsoft Windows Me 和 Windows XP 及更高版本的 Windows作系统中提供。
目标平台 桌面
标头 wiamdef.h (包括 Wiamdef.h)
Wiaservc.lib
DLL Wiaservc.dll

另请参阅

wiasReadPropFloat

wiasWritePropBin

wiasWritePropGuid

wiasWritePropLong

wiasWritePropStr