共用方式為


ITfInputProcessorProfilesEx::SetLanguageProfileDisplayName 方法 (msctf.h)

可轉散發套件:需要 Windows 2000 上的 TSF 1.0。

標頭:在 Msctf.idl 和 Msctf.h 中宣告。

程式庫:包含在 Msctf.dll 中的資源。

語法

HRESULT SetLanguageProfileDisplayName(
  REFCLSID    rclsid,
  LANGID      langid,
  REFGUID     guidProfile,
  const WCHAR *pchFile,
  ULONG       cchFile,
  ULONG       uResId
);

參數

rclsid

langid

guidProfile

pchFile

cchFile

uResId

傳回值

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

需求

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

另請參閱

ITfInputProcessorProfiles::AddLanguageProfile

ITfInputProcessorProfilesEx