47 if (s_fnDllShutdownInProgress)
48 return s_fnDllShutdownInProgress();
51 s_fnDllShutdownInProgress =
53 if (!s_fnDllShutdownInProgress)
56 return s_fnDllShutdownInProgress();
68 0, 0, 0, 0, 0, 0, 0, &
pSid))
79 return bOK && IsMember;
89 return info.ciCharset;
99 return ::ImmGetContext(hwndFocus);
110 if (!cicGetFN(
g_hMSIMTF, s_fn,
L"msimtf.dll",
"MsimtfIsGuidMapEnable"))
112 return s_fn(hIMC, pbValue);
168 IID_ITfDisplayAttributeMgr,
237 hr = pThreadMgr->GetGlobalCompartment(&
pCompMgr);
275 V_I4(&vari) = dwValue;
301 *pdwValue =
V_I4(&vari);
347 hr = pThreadMgr->GetGlobalCompartment(&
pCompMgr);
380 { GUID_MODEBIAS_FILENAME, 0x00000001 },
381 { GUID_MODEBIAS_NUMERIC, 0x00000004 },
382 { GUID_MODEBIAS_URLHISTORY, 0x00010000 },
383 { GUID_MODEBIAS_DEFAULT, 0x00000000 },
401 pguid = &
item.m_guid;
455 static const QITAB c_tab[] =
460 return ::QISearch(
this, c_tab,
riid, ppvObj);
466 return ::InterlockedIncrement(&
m_cRefs);
499 Init(CLSID_CAImmLayer,
L"MSCTFIME::Function Provider");
536 static const QITAB c_tab[] =
541 return ::QISearch(
this, c_tab,
riid, ppvObj);
547 return ::InterlockedIncrement(&
m_cRefs);
575 return imeContext.
m_hr;
599 return imeContext.
m_hr;
626 return imeContext.
m_hr;
658 return imeContext.
m_hr;
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
HRESULT cicCoCreateInstance(_In_ REFCLSID rclsid, _In_ LPUNKNOWN pUnkOuter, _In_ DWORD dwClsContext, _In_ REFIID iid, _Out_ LPVOID *ppv)
EXTERN_C HINSTANCE cicGetSystemModuleHandle(_In_ LPCTSTR pszFileName, _In_ BOOL bSysWinDir)
STDMETHODIMP ClearDocFeedBuffer() override
@implemented
STDMETHODIMP StartUndoCompositionString() override
@implemented
STDMETHODIMP StartReconvert() override
@unimplemented
STDMETHODIMP DocFeed() override
@implemented
STDMETHODIMP QueryInterface(_In_ REFIID riid, _Out_ LPVOID *ppvObj) override
@implemented
STDMETHODIMP QueryInterface(_In_ REFIID riid, _Out_ LPVOID *ppvObj) override
@implemented
CFunctionProviderBase(_In_ TfClientId clientId)
@implemented
virtual ~CFunctionProviderBase()
@implemented
STDMETHODIMP GetType(_Out_ GUID *guid) override
@implemented
BOOL Init(_In_ REFGUID rguid, _In_ LPCWSTR psz)
@implemented
STDMETHODIMP GetDescription(_Out_ BSTR *desc) override
@implemented
CFunctionProvider(_In_ TfClientId clientId)
@implemented
STDMETHODIMP GetFunction(_In_ REFGUID guid, _In_ REFIID riid, _Out_ IUnknown **func) override
@implemented
void SetModeBias(REFGUID rguid)
@implemented
GUID ConvertModeBias(LONG bias)
@implemented
BOOL Add(const T_ITEM &item)
INPUTCONTEXTDX & get() const
HRESULT SetupReconvertString(CicIMCLock &imcLock, ITfThreadMgr_P *pThreadMgr, UINT uCodePage, UINT uMsg, BOOL bUndo)
@unimplemented
HRESULT EscbClearDocFeedBuffer(CicIMCLock &imcLock, BOOL bFlag)
@unimplemented
HRESULT EndReconvertString(CicIMCLock &imcLock)
@unimplemented
HRESULT SetupDocFeedString(CicIMCLock &imcLock, UINT uCodePage)
@unimplemented
HRESULT GetLangId(_Out_ LANGID *pLangID)
@implemented
HRESULT GetCodePageA(_Out_ UINT *puCodePage)
@implemented
ITfThreadMgr_P * m_pThreadMgr
static TLS * GetTLS()
@implemented
BOOL IsVKDBEKey(_In_ UINT uVirtKey)
@implemented
ITfCategoryMgr * GetUIMCat(PCIC_LIBTHREAD pLibThread)
@implemented
HRESULT GetCompartmentDWORD(IUnknown *pUnknown, REFGUID rguid, LPDWORD pdwValue, BOOL bThread)
@implemented
HRESULT InitDisplayAttrbuteLib(PCIC_LIBTHREAD pLibThread)
@implemented
static HRESULT LibEnumItemsInCategory(PCIC_LIBTHREAD pLibThread, REFGUID rguid, IEnumGUID **ppEnum)
@implemented
BYTE GetCharsetFromLangId(_In_ DWORD dwValue)
HRESULT SetCompartmentUnknown(TfEditCookie cookie, IUnknown *pUnknown, REFGUID rguid, IUnknown *punkValue)
@implemented
HRESULT UninitDisplayAttrbuteLib(PCIC_LIBTHREAD pLibThread)
@implemented
static const MODEBIAS g_ModeBiasMap[]
HIMC GetActiveContext(VOID)
HRESULT GetCompartment(IUnknown *pUnknown, REFGUID rguid, ITfCompartment **ppComp, BOOL bThread)
@implemented
BOOL(WINAPI * FN_MsimtfIsGuidMapEnable)(HIMC hIMC, LPBOOL pbValue)
BOOLEAN DllShutdownInProgress(VOID)
HRESULT ClearCompartment(TfClientId tid, IUnknown *pUnknown, REFGUID rguid, BOOL bThread)
@implemented
BOOL IsEALang(_In_opt_ LANGID LangID)
BOOL MsimtfIsGuidMapEnable(_In_ HIMC hIMC, _Out_opt_ LPBOOL pbValue)
@implemented
HRESULT SetCompartmentDWORD(TfEditCookie cookie, IUnknown *pUnknown, REFGUID rguid, DWORD dwValue, BOOL bThread)
@implemented
BOOL IsInteractiveUserLogon(VOID)
BOOLEAN(WINAPI * FN_DllShutdownInProgress)(VOID)
HIMC GetActiveContext(VOID)
BOOLEAN DllShutdownInProgress(VOID)
BOOL WINAPI CheckTokenMembership(IN HANDLE ExistingTokenHandle, IN PSID SidToCheck, OUT PBOOL IsMember)
BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid)
PVOID WINAPI FreeSid(PSID pSid)
#define GetProcAddress(x, y)
HRESULT Next([in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] GUID *rgelt, [out] ULONG *pceltFetched)
HRESULT EnumItemsInCategory([in] REFGUID rcatid, [out] IEnumGUID **ppEnum)
HRESULT SetValue([in] TfClientId tid, [in] const VARIANT *pvarValue)
HRESULT GetValue([out] VARIANT *pvarValue)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
static const WCHAR desc[]
EXTERN_C const GUID GUID_PROP_ATTRIBUTE
EXTERN_C const CLSID CLSID_TF_CategoryMgr
EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr
CRITICAL_SECTION g_csLock
CDispAttrPropCache * g_pPropCache
CicArray< GUID > CDispAttrPropCache
#define GUID_MODEBIAS_NONE
static nsIComponentManager * pCompMgr
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
#define IsEqualGUID(rguid1, rguid2)
#define IsEqualIID(riid1, riid2)
#define QITABENT(Cthis, Ifoo)
ITfCategoryMgr * m_pCategoryMgr
ITfDisplayAttributeMgr * m_pDisplayAttrMgr
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT _In_ UCHAR _In_opt_ USHORT LangID
DWORD WINAPI GetLastError(void)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
BOOL WINAPI TranslateCharsetInfo(_Inout_ PDWORD, _Out_ LPCHARSETINFO, _In_ DWORD)
HWND WINAPI GetFocus(void)
HWND WINAPI GetActiveWindow(void)
#define SECURITY_INTERACTIVE_RID
#define SECURITY_NT_AUTHORITY