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