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) |