ITfInputProcessorProfiles::GetLanguageProfileDescription 方法 (msctf.h)

取得語言設定檔的描述字串。

語法

HRESULT GetLanguageProfileDescription(
  [in]  REFCLSID rclsid,
  [in]  LANGID   langid,
  [in]  REFGUID  guidProfile,
  [out] BSTR     *pbstrProfile
);

參數

[in] rclsid

包含要取得設定檔描述之文字服務的 CLSID。

[in] langid

包含 LANGID 值,指定要取得設定檔描述的語言。

[in] guidProfile

包含 GUID 值,可識別要取得設定檔描述的語言。

[out] pbstrProfile

接收描述字串的 BSTR 值指標。 呼叫端負責在不再需要記憶體時,使用 SysFreeString 釋放此記憶體。

傳回值

這個方法可以傳回其中一個值。

描述
S_OK
此方法成功。
E_FAIL
發生未指定的錯誤。
E_INVALIDARG
pbstrProfile 無效。

需求

   
最低支援的用戶端 Windows 2000 專業版 [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
目標平台 Windows
標頭 msctf.h
Dll Msctf.dll
可轉散發套件 Windows 2000 專業版上的 TSF 1.0

另請參閱

ITfInputProcessorProfiles

ITfInputProcessorProfiles::AddLanguageProfile

SysFreeString