Bagikan melalui


Antarmuka ITfInputProcessorProfiles (msctf.h)

Antarmuka ITfInputProcessorProfiles diimplementasikan oleh manajer TSF dan digunakan oleh layanan aplikasi atau teks untuk memanipulasi profil bahasa dari satu atau beberapa layanan teks.

Warisan

Antarmuka ITfInputProcessorProfiles mewarisi dari antarmuka IUnknown . ITfInputProcessorProfiles juga memiliki jenis anggota berikut:

Metode

Antarmuka ITfInputProcessorProfiles memiliki metode ini.

 
ITfInputProcessorProfiles::ActivateLanguageProfile

Metode ITfInputProcessorProfiles::ActivateLanguageProfile
ITfInputProcessorProfiles::AddLanguageProfile

Metode ITfInputProcessorProfiles::AddLanguageProfile
ITfInputProcessorProfiles::ChangeCurrentLanguage

Metode ITfInputProcessorProfiles::ChangeCurrentLanguage
ITfInputProcessorProfiles::EnableLanguageProfile

Metode ITfInputProcessorProfiles::EnableLanguageProfile
ITfInputProcessorProfiles::EnableLanguageProfileByDefault

Metode ITfInputProcessorProfiles::EnableLanguageProfileByDefault
ITfInputProcessorProfiles::EnumInputProcessorInfo

Metode ITfInputProcessorProfiles::EnumInputProcessorInfo
ITfInputProcessorProfiles::EnumLanguageProfiles

Metode ITfInputProcessorProfiles::EnumLanguageProfiles
ITfInputProcessorProfiles::GetActiveLanguageProfile

Metode ITfInputProcessorProfiles::GetActiveLanguageProfile
ITfInputProcessorProfiles::GetCurrentLanguage

Metode ITfInputProcessorProfiles::GetCurrentLanguage
ITfInputProcessorProfiles::GetDefaultLanguageProfile

Metode ITfInputProcessorProfiles::GetDefaultLanguageProfile
ITfInputProcessorProfiles::GetLanguageList

Metode ITfInputProcessorProfiles::GetLanguageList
ITfInputProcessorProfiles::GetLanguageProfileDescription

Metode ITfInputProcessorProfiles::GetLanguageProfileDescription
ITfInputProcessorProfiles::IsEnabledLanguageProfile

Metode ITfInputProcessorProfiles::IsEnabledLanguageProfile
ITfInputProcessorProfiles::Register

Metode ITfInputProcessorProfiles::Register
ITfInputProcessorProfiles::RemoveLanguageProfile

Metode ITfInputProcessorProfiles::RemoveLanguageProfile
ITfInputProcessorProfiles::SetDefaultLanguageProfile

Metode ITfInputProcessorProfiles::SetDefaultLanguageProfile
ITfInputProcessorProfiles::SubstituteKeyboardLayout

Metode ITfInputProcessorProfiles::SubstituteKeyboardLayout
ITfInputProcessorProfiles::Unregister

Metode ITfInputProcessorProfiles::Unregister

Keterangan

Untuk mendapatkan pointer ke antarmuka ini, panggil CoCreateInstance dengan CLSID_TF_InputProcessorProfiles.

Contoh

ITfInputProcessorProfiles


HRESULT hr;
ITfInputProcessorProfiles *pProfiles;

//Create the object. 
hr = CoCreateInstance(  CLSID_TF_InputProcessorProfiles, 
                        NULL, 
                        CLSCTX_INPROC_SERVER, 
                        IID_ITfInputProcessorProfiles, 
                        (LPVOID*)&pProfiles);

if(SUCCEEDED(hr))
{
    //Use the interface. 

    //Release the interface. 
    pProfiles->Release();
}

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 2000 Professional [hanya aplikasi desktop]
Server minimum yang didukung Windows 2000 Server [hanya aplikasi desktop]
Target Platform Windows
Header msctf.h
Redistribusi TSF 1.0 di Windows 2000 Professional