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

CWiauPropertyList::SetCurrentValue (INT,CLSID) 方法會設定 CLSID 類型的屬性目前值,並將其類型設定為 VT_CLSID。

語法

void SetCurrentValue(
  INT   index,
  CLSID *pValue
);

參數

index

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

pValue

記憶體位置的指標,其中包含寫入屬性清單中裝置屬性的值。 此指標必須維持有效狀態,直到呼叫 CWiauPropertyList::SendToWia 方法為止。

傳回值

規格需求

需求
目標平台 桌面
標頭 wiautil.h (包括 Wiautil.h、Wiamindr.h)

另請參閱

CWiauPropertyList

CWiauPropertyList::D efineProperty

CWiauPropertyList::SendToWia