共用方式為


wiasWritePropLong 函式 (wiamdef.h)

wiasWritePropLong 函式會將單一長整數屬性值寫入 WIA 專案。

語法

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

參數

[in] pWiasContext

WIA 專案內容的指標。

propid

指定屬性識別碼。

lVal

指定要寫入項目的長整數屬性值。

傳回值

成功時,函式會傳回S_OK。 如果函式失敗,它會傳回標準 COM 錯誤或其中一個WIA_ERROR_XXX錯誤(如 Microsoft Windows SDK 檔中所述)。

要求

要求 價值
最低支援的用戶端 Microsoft Windows Me 和 Windows XP 和更新版本的 Windows作系統中提供。
目標平臺 桌面
標頭 wiamdef.h (包括 Wiamdef.h)
連結庫 Wiaservc.lib
DLL Wiaservc.dll

另請參閱

wiasReadPropLong

wiasWritePropBin

wiasWritePropFloat

wiasWritePropGuid

wiasWritePropStr