IUpdate::get_Description 方法 (wuapi.h)

取得更新的當地語系化描述。

這個屬性是唯讀的。

語法

HRESULT get_Description(
  BSTR *retval
);

參數

retval

傳回值

備註

如果使用 IUpdateSession::CreateUpdateSearcher 方法建立 IUpdateSearcher 介面,則此屬性傳回的資訊適用於 UserLocale 屬性所指定的語言。 這是用來建立 IUpdateSearcher 之會話之 IUpdateSession2 介面的 UserLocale 属性。

如果 IUpdateSession2UserLocale 屬性未指定語言喜好設定,或者如果未使用 IUpdateSession::CreateUpdateSearcher 建立 IUpdateSearcher 介面,則此屬性傳回的資訊適用於預設使用者介面 (UI) 語言。 如果使用者的預設 UI 語言無法使用,Windows Update Agent (WUA) 使用電腦的預設 UI 語言。 如果計算機的默認語言無法使用,WUA 會使用更新提供者建議的語言。

規格需求

需求
最低支援的用戶端 Windows XP、Windows 2000 Professional 與 SP3 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003、Windows 2000 Server 與 SP3 [僅限桌面應用程式]
目標平台 Windows
標頭 wuapi.h
程式庫 Wuguid.lib
Dll Wuapi.dll

另請參閱

IUpdate