wiasWritePropLong 函数 (wiamdef.h)

wiasWritePropLong 函数将单个长整数属性值写入 WIA 项。

语法

HRESULT wiasWritePropLong(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       LONG   lVal
);

参数

[in] pWiasContext

指向 WIA 项上下文的指针。

propid

指定属性标识符。

lVal

指定要写入项的长整数属性值。

返回值

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

要求

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

另请参阅

wiasReadPropLong

wiasWritePropBin

wiasWritePropFloat

wiasWritePropGuid

wiasWritePropStr