ReactOS 0.4.16-dev-289-g096a551
|
#include <stdarg.h>
#include <stdio.h>
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "shlwapi.h"
#include "shlguid.h"
#include "comcat.h"
#include "olectl.h"
#include "rpcproxy.h"
#include "msctf.h"
#include "inputscope.h"
#include "msctf_internal.h"
Go to the source code of this file.
Classes | |
struct | CookieInternal |
struct | ActivatedTextService |
struct | AtsEntry |
struct | tagClassFactory |
Macros | |
#define | COBJMACROS |
Typedefs | |
typedef HRESULT(* | LPFNCONSTRUCTOR) (IUnknown *pUnkOuter, IUnknown **ppvOut) |
typedef struct tagClassFactory | ClassFactory |
Variables | |
static HINSTANCE | MSCTF_hinstance |
static CookieInternal * | cookies |
static UINT | id_last |
static UINT | array_size |
static struct list | AtsList = LIST_INIT(AtsList) |
static UINT | activated = 0 |
DWORD | tlsIndex = 0 |
TfClientId | processId = 0 |
ITfCompartmentMgr * | globalCompartmentMgr = NULL |
const WCHAR | szwSystemTIPKey [] = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','C','T','F','\\','T','I','P',0} |
const WCHAR | szwSystemCTFKey [] = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','C','T','F',0} |
struct { | |
REFCLSID clsid | |
LPFNCONSTRUCTOR ctor | |
} | ClassesTable [] |
static const IClassFactoryVtbl | ClassFactoryVtbl |
typedef struct tagClassFactory ClassFactory |
|
static |
Definition at line 336 of file msctf.c.
Referenced by activate_textservices(), and add_active_textservice().
HRESULT activate_textservices | ( | ITfThreadMgrEx * | tm | ) |
Definition at line 475 of file msctf.c.
Referenced by ThreadMgr_ActivateEx().
HRESULT add_active_textservice | ( | TF_LANGUAGEPROFILE * | lp | ) |
Definition at line 395 of file msctf.c.
Referenced by InputProcessorProfiles_ActivateLanguageProfile().
HRESULT advise_sink | ( | struct list * | sink_list, |
REFIID | riid, | ||
DWORD | cookie_magic, | ||
IUnknown * | unk, | ||
DWORD * | cookie | ||
) |
Definition at line 285 of file msctf.c.
Referenced by CompartmentSource_AdviseSink(), ContextSource_AdviseSink(), DocumentMgrSource_AdviseSink(), IPPSource_AdviseSink(), and ThreadMgrSource_AdviseSink().
|
static |
Definition at line 124 of file msctf.c.
|
static |
Definition at line 175 of file msctf.c.
Referenced by DllGetClassObject().
|
static |
|
static |
Definition at line 105 of file msctf.c.
Referenced by ClassFactory_Release().
|
static |
|
static |
|
static |
|
static |
Definition at line 361 of file msctf.c.
Referenced by deactivate_remove_conflicting_ts(), and deactivate_textservices().
Definition at line 377 of file msctf.c.
Referenced by add_active_textservice().
Definition at line 493 of file msctf.c.
Referenced by ThreadMgr_Deactivate().
Definition at line 584 of file msctf.c.
Definition at line 603 of file msctf.c.
Definition at line 611 of file msctf.c.
Definition at line 273 of file msctf.c.
Referenced by CategoryMgr_RegisterGUID().
Definition at line 305 of file msctf.c.
Referenced by free_sinks(), and unadvise_sink().
Definition at line 324 of file msctf.c.
Referenced by Compartment_Destructor(), Context_Destructor(), DocumentMgr_Destructor(), InputProcessorProfiles_Destructor(), and ThreadMgr_Destructor().
Definition at line 189 of file msctf.c.
Referenced by advise_sink(), CategoryMgr_RegisterGUID(), Context_Constructor(), and TextStoreACPSink_OnLockGranted().
BOOL get_active_textservice | ( | REFCLSID | rclsid, |
TF_LANGUAGEPROFILE * | profile | ||
) |
Definition at line 459 of file msctf.c.
Referenced by InputProcessorProfiles_ActivateLanguageProfile(), InputProcessorProfiles_GetActiveLanguageProfile(), and next_LanguageProfile().
Definition at line 246 of file msctf.c.
Referenced by CategoryMgr_GetGUID(), CategoryMgr_IsEqualTfGuidAtom(), CategoryMgr_RegisterGUID(), Context_GetEnd(), Context_GetSelection(), Context_GetStart(), and InsertAtSelection_InsertTextAtSelection().
Definition at line 233 of file msctf.c.
Referenced by CategoryMgr_GetGUID(), CategoryMgr_IsEqualTfGuidAtom(), CompartmentSource_UnadviseSink(), Context_GetEnd(), Context_GetSelection(), Context_GetStart(), Context_SetSelection(), ContextSource_UnadviseSink(), DocumentMgrSource_UnadviseSink(), InsertAtSelection_InsertTextAtSelection(), IPPSource_UnadviseSink(), and ThreadMgrSource_UnadviseSink().
CLSID get_textservice_clsid | ( | TfClientId | tid | ) |
Definition at line 507 of file msctf.c.
Referenced by KeystrokeMgr_AdviseKeyEventSink(), and KeystrokeMgr_UnadviseKeyEventSink().
HRESULT get_textservice_sink | ( | TfClientId | tid, |
REFCLSID | iid, | ||
IUnknown ** | sink | ||
) |
Definition at line 517 of file msctf.c.
Referenced by KeystrokeMgr_AdviseKeyEventSink(), and KeystrokeMgr_UnadviseKeyEventSink().
|
inlinestatic |
Definition at line 100 of file msctf.c.
Referenced by ClassFactory_AddRef(), ClassFactory_CreateInstance(), ClassFactory_LockServer(), and ClassFactory_Release().
Definition at line 259 of file msctf.c.
Referenced by Context_Destructor(), TextStoreACPSink_OnLockGranted(), and unadvise_sink().
HRESULT set_textservice_sink | ( | TfClientId | tid, |
REFCLSID | iid, | ||
IUnknown * | sink | ||
) |
Definition at line 534 of file msctf.c.
Referenced by KeystrokeMgr_AdviseKeyEventSink(), and KeystrokeMgr_UnadviseKeyEventSink().
HRESULT WINAPI SetInputScope | ( | HWND | hwnd, |
InputScope | inputscope | ||
) |
HRESULT WINAPI SetInputScopes | ( | HWND | hwnd, |
const InputScope * | pInputScopes, | ||
UINT | cInputScopes, | ||
WCHAR ** | ppszPhraseList, | ||
UINT | cPhrases, | ||
WCHAR * | pszRegExp, | ||
WCHAR * | pszSRGS | ||
) |
Definition at line 668 of file msctf.c.
Referenced by CheckCloseMenuAvailable(), and CicProfile::InitProfileInstance().
HRESULT WINAPI TF_CreateLangBarItemMgr | ( | ITfLangBarItemMgr ** | pplbim | ) |
HRESULT WINAPI TF_CreateLangBarMgr | ( | ITfLangBarMgr ** | pppbm | ) |
Definition at line 686 of file msctf.c.
Referenced by CTipbarWnd::CTipbarWnd(), DoCloseLangbar(), and Imm32TF_CreateLangBarMgr().
HRESULT WINAPI TF_CreateThreadMgr | ( | ITfThreadMgr ** | pptim | ) |
Definition at line 619 of file msctf.c.
Referenced by CicBridge::InitIMMX().
HRESULT WINAPI TF_GetThreadMgr | ( | ITfThreadMgr ** | pptim | ) |
Definition at line 628 of file msctf.c.
Referenced by CtfImeProcessCicHotkey(), and DocumentMgr_Destructor().
Definition at line 704 of file msctf.c.
Referenced by CLBarInatItem::CLBarInatItem(), and CLBarInatItem::InitMenu().
Definition at line 677 of file msctf.c.
Referenced by Imm32TF_InvalidAssemblyListCacheIfExist(), and CRegWatcher::UpdateSpTip().
Definition at line 312 of file msctf.c.
Referenced by CompartmentSource_UnadviseSink(), ContextSource_UnadviseSink(), DocumentMgrSource_UnadviseSink(), IPPSource_UnadviseSink(), and ThreadMgrSource_UnadviseSink().
WINE_DEFAULT_DEBUG_CHANNEL | ( | msctf | ) |
|
static |
Definition at line 70 of file msctf.c.
Referenced by activate_textservices(), add_active_textservice(), QMyMainWindow::dataReceived(), deactivate_textservices(), param_connect(), QMyDialog::QMyDialog(), QMyMainWindow::QMyMainWindow(), QMyScrollView::timerEvent(), and ui_main_loop().
|
static |
Definition at line 67 of file msctf.c.
Referenced by generate_Cookie(), NdrComplexStructUnmarshall(), new_array_type(), parse_encoding(), reg_type_to_wchar(), test_notify_generic_text_helper(), and write_var_desc().
Definition at line 69 of file msctf.c.
Referenced by activate_textservices(), add_active_textservice(), deactivate_remove_conflicting_ts(), deactivate_textservices(), get_active_textservice(), get_textservice_clsid(), get_textservice_sink(), and set_textservice_sink().
const struct { ... } ClassesTable[] |
Referenced by DllGetClassObject().
|
static |
Definition at line 164 of file msctf.c.
Referenced by ClassFactory_Constructor().
REFCLSID clsid |
Definition at line 82 of file msctf.c.
Referenced by _create_object(), CFSFolder::_CreateExtensionUIObject(), CFSFolder::_GetDropTarget(), CFSFolder::_GetIconHandler(), _ILCreatePrinters(), CRegFolder::_IsInNameSpace(), actctx_get_miscstatus(), ACTION_PublishFeatures(), add_icon_to_control(), add_progid_record(), AddClsidKeyToArray(), AssocCreate(), AssocQ(), AtlComModuleRegisterServer(), ATL::AtlComModuleRegisterServer(), ATL::AtlComModuleUnregisterServer(), AtlGetObjectSourceInterface(), AtlModuleRegisterServer(), AtlModuleUnregisterServer(), ATL::AtlRegisterClassCategoriesHelper(), AtlRegisterClassCategoriesHelper(), AVIFILE_CreateClassFactory(), BindProtocol_StartEx(), BitmapDecoderInfo_Constructor(), BitmapEncoderInfo_Constructor(), CShellBrowser::BrowseToPIDL(), call_script(), ClassMoniker_CreateFromDisplayName(), ClassMoniker_IsEqual(), CLRCreateInstance(), clsid_from_string_reg(), CLSIDEnumGUID_Next(), CLSIDFromProgID(), CLSIDFromProgIDEx(), ATL::CComPtr< T >::CoCreateInstance(), CoCreateInstanceEx(), CoGetInstanceFromFile(), CoIsOle1Class(), COM_OpenKeyForAppIdFromCLSID(), COM_OpenKeyForCLSID(), create_activex_object(), create_automatic_entry(), IPCtrlWindow< BASE, SMARTPTR >::create_control(), create_engine(), create_instance(), create_mime_object(), create_object(), create_plugin_host(), create_proxy(), create_stub(), CreateComponentEnumerator(), CreateComponentInfo(), CreateFilterInstanceAndLoadFile(), SIfacePtr< T >::CreateInstance(), CreateRegItem(), CustomMarshal_GetUnmarshalClass(), d3drm1_CreateObject(), d3drm2_CreateObject(), d3drm3_CreateObject(), DataCache_Construct(), DataCache_GetClassID(), DataCache_InitNew(), DataCache_Load(), db_initialize(), DECLARE_INTERFACE_(), DefaultHandler_Construct(), DefaultHandler_IPersistStorage_GetClassID(), DEVENUM_IEnumMoniker_Next(), DEVENUM_IMediaCatMoniker_IsEqual(), DllGetClassObject(), dochost_object_available(), DOMClassFactory_Create(), dump_template(), CDefaultContextMenu::EnumerateDynamicContextHandlerForKey(), EnumTfLanguageProfiles_Next(), FileMonikerImpl_IsEqual(), FilterGraph2_Connect(), FilterMapper_EnumMatchingFilters(), FilterMapper_RegisterFilter(), FilterMapper_RegisterFilterInstance(), FindExeCplClass(), FM2_WriteClsid(), format_clsid(), FormatConverterInfo_Constructor(), GdipSaveImageToStream(), get_component_info(), get_decoder_info(), get_default_source(), get_elem_clsid(), get_encoder_clsid(), get_engine_clsid(), get_facbuf_for_iid(), get_mime_clsid(), get_mime_filter(), get_moniker_comparison_data(), get_moniker_for_progid_display_name(), get_msxml_version(), get_protocol_cf(), get_protocol_handler(), get_storage(), CDefView::GetDefaultViewStream(), CRegFolder::GetDetailsOf(), CRegFolder::GetDisplayNameOf(), GetFileSourceFilter(), COpenControlPanel::GetPath(), CSearchBar::GetSearchResultsFolder(), GetSplitter(), CQueryAssociations::GetString(), HasCLSIDShellFolderValue(), implicit_mta_proc(), init_session(), CRShellClassFactory::Initialize(), InitIconOverlays(), InitPropVariantFromCLSID(), InitShellServices(), InputProcessorProfileMgr_ActivateProfile(), InputProcessorProfileMgr_DeactivateProfile(), InputProcessorProfileMgr_GetProfile(), insert_static_object(), CSearchBar::Invoke(), CDefaultContextMenu::InvokeRegVerb(), IPropertyStorage_fnSetClass(), is_clsid_supported(), CImageDx::IsExtensionSupported(), CDefaultContextMenu::IsShellExtensionAlreadyLoaded(), ItemMonikerImpl_IsEqual(), iterate_all_classes(), IUnknown_GetClassID(), CLangBarItemList::Load(), CDefaultContextMenu::LoadDynamicContextMenuHandler(), local_server_GetClassID(), MediaStreamFilterImpl_GetClassID(), MetadataReaderInfo_Constructor(), MetadataReaderInfo_GetCLSID(), MkProtocol_StartEx(), msi_create_component_advertise_string(), NdrDllRegisterProxy(), NdrDllUnregisterProxy(), next_LanguageProfile(), OLECONVERT_GetOLE10ProgID(), OleCreateDefaultHandler(), OleCreateEmbeddingHelper(), OleCreateFromFile(), OleCreateFromFileEx(), OleCreateStaticFromData(), OleDoAutoConvert(), OleLoadFromStream(), OleRegEnumFormatEtc(), OleRegEnumVerbs(), OleRegGetMiscStatus(), OleRegGetUserType(), OleSaveToStream(), CActiveLanguageProfileNotifySink::OnActivated(), CTrayBandSite::OnLoad(), COpenControlPanel::Open(), parse_add_interface_class(), parse_classid(), CRegFolder::ParseDisplayName(), PixelFormatInfo_Constructor(), pointer_default(), process_data(), ProfileActivationSink_OnActivated(), ProgIDFromCLSID(), PropertyStorage_ReadHeaderFromStream(), ReadFmtUserTypeStg(), reg_context_menu_handler(), reg_icon_overlay(), reg_prop_sheet_handler(), register_clsid(), register_codec(), register_dsound_devices(), register_legacy_filters(), register_namespace(), register_progid(), register_ps_clsid_thread(), RegisterComponent(), RPC_StartLocalServer(), SSOThread::Run(), run_script(), RuntimeHost_GetInterface(), ATL::CImage::Save(), CImageDx::SaveDx(), CRegFolder::SetNameOf(), setup_edit_mode(), SetupRegisterClass(), SHCreatePropSheetExtArrayEx(), SHELL32_BindToSF(), SHELL32_CoCreateInitSF(), SHELL_GetRegCLSID(), SHELL_QueryCLSIDValue(), SHGetObjectCompatFlags(), CShellDispatch::ShowBrowserBar(), SHSkipJunction(), START_TEST(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), StgCreatePropStg(), Storage_SetClass(), STORAGE_WriteCompObj(), StorageBaseImpl_SetClass(), SxsLookupClrGuid(), test1_GetClassID(), test_CLSIDFromProgID(), test_CLSIDFromProgIDWrap(), test_CLSIDFromString(), test_CoGetInstanceFromFile(), test_CoGetPSClsid(), test_CoGetStandardMarshal(), test_com_aggregation(), test_CoRegisterPSClsid(), test_CreateBody(), test_data_cache(), test_data_cache_init(), test_data_cache_initnew(), test_data_cache_save_data(), test_decoder_info(), test_default_handler(), test_delegated_methods(), test_desktop_IPersist(), test_destroy_callback(), test_devenum(), test_early_abort(), test_find_com_redirection(), test_find_progid_redirection(), test_find_surrogate(), test_FolderShortcut(), test_freethreadedmarshaler(), test_iface_ptr(), test_InitPropVariantFromCLSID(), test_IUnknown_GetClassID(), test_IWinHttpRequest_Invoke(), test_legacy_filter_registration(), test_local_server(), test_marshal_channel_buffer(), test_media_streams(), test_metadata_APE(), test_metadata_GIF_comment(), test_multi_encoder(), test_object(), test_OleCreateStaticFromData(), test_OleDoAutoConvert(), test_pack_FILEDESCRIPTORA(), test_pack_FILEDESCRIPTORW(), test_pack_SHDESCRIPTIONID(), test_persist_GetClassId(), test_persiststream(), test_PropVariantCompare(), test_proxybuffer(), test_ReadClassStm(), test_reader_info(), test_SHGetObjectCompatFlags(), test_ShortcutFolder(), test_stub(), test_stubbuffer(), test_supported_encoders(), TestModuleRegistry(), testpersist_GetClassID(), UIINSERTOBJECTDLG_OnOpen(), UIINSERTOBJECTDLG_PopulateObjectTypes(), unregister_clsid(), UnregisterComponent(), URLMoniker_IsEqual(), vmr_create(), WriteFmtUserTypeStg(), and wWinMain().
|
static |
Definition at line 65 of file msctf.c.
Referenced by enumerate_Cookie(), generate_Cookie(), get_Cookie_data(), get_Cookie_magic(), HTTP_InsertCookies(), remove_Cookie(), set_cookies(), test_Advise(), and test_LoadLibraryEx_search_flags().
LPFNCONSTRUCTOR ctor |
Definition at line 83 of file msctf.c.
Referenced by ClassFactory_Constructor(), DllGetClassObject(), kmem_cache_create(), and MSVCRTEX_eh_vector_constructor_iterator().
ITfCompartmentMgr* globalCompartmentMgr = NULL |
Definition at line 74 of file msctf.c.
Referenced by ThreadMgr_GetGlobalCompartment().
|
static |
Definition at line 66 of file msctf.c.
Referenced by enumerate_Cookie(), generate_Cookie(), get_Cookie_data(), get_Cookie_magic(), and remove_Cookie().
|
static |
Definition at line 42 of file msctf.c.
Referenced by DllMain(), DllRegisterServer(), and DllUnregisterServer().
TfClientId processId = 0 |
Definition at line 73 of file msctf.c.
Referenced by ThreadMgr_ActivateEx().
const WCHAR szwSystemCTFKey = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','C','T','F',0} |
Definition at line 77 of file msctf.c.
Referenced by InputProcessorProfiles_GetDefaultLanguageProfile(), and InputProcessorProfiles_SetDefaultLanguageProfile().
const WCHAR szwSystemTIPKey = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','C','T','F','\\','T','I','P',0} |
Definition at line 76 of file msctf.c.
Referenced by add_userkey(), CategoryMgr_FindClosestCategory(), CategoryMgr_RegisterCategory(), CategoryMgr_UnregisterCategory(), EnumTfLanguageProfiles_Constructor(), InputProcessorProfiles_AddLanguageProfile(), InputProcessorProfiles_EnableLanguageProfile(), InputProcessorProfiles_EnableLanguageProfileByDefault(), InputProcessorProfiles_IsEnabledLanguageProfile(), InputProcessorProfiles_Register(), InputProcessorProfiles_Unregister(), and ProfilesEnumGuid_Constructor().
DWORD tlsIndex = 0 |
Definition at line 72 of file msctf.c.
Referenced by add_active_textservice(), DllMain(), TF_GetThreadMgr(), ThreadFocusHookProc(), ThreadMgr_Constructor(), and ThreadMgr_Destructor().