共用方式為


CWiauPropertyList::SetCurrentValue(INT,FLOAT) 方法 (wiautil.h)

CWiauPropertyList::SetCurrentValue(INT,FLOAT) 方法會將 FLOAT 類型之屬性的目前值設定為 VT_R4。

語法

void SetCurrentValue(
  INT   index,
  FLOAT value
);

參數

index

指定屬性索引。 當 CWiauPropertyList::D efineProperty 方法傳回時,將此參數設定為 *pIdx 中的值。

value

指定寫入屬性清單中裝置屬性的值。

傳回值

沒有

要求

要求 價值
目標平臺 桌面
標頭 wiautil.h (包括 Wiautil.h、Wiamindr.h)

另請參閱

CWiauPropertyList

CWiauPropertyList::D efineProperty