64 *ppvOut = &
This->IActiveIMMApp_iface;
66 else if (
IsEqualIID(iid, &IID_IActiveIMMMessagePumpOwner))
68 *ppvOut = &
This->IActiveIMMMessagePumpOwner_iface;
73 IUnknown_AddRef(iface);
827 return IActiveIMMApp_QueryInterface(&
This->IActiveIMMApp_iface, iid, ppvOut);
833 return IActiveIMMApp_AddRef(&
This->IActiveIMMApp_iface);
839 return IActiveIMMApp_Release(&
This->IActiveIMMApp_iface);
DWORD WINAPI ImmGetCandidateListCountA(HIMC hIMC, LPDWORD lpdwListCount)
static HRESULT WINAPI ActiveIMMApp_GetGuideLineA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPSTR pBuf, DWORD *pdwResult)
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontW(IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
BOOL WINAPI ImmUnregisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
BOOL WINAPI ImmConfigureIMEW(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
static HRESULT WINAPI ActiveIMMApp_GetCandidateListA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
IActiveIMMMessagePumpOwner IActiveIMMMessagePumpOwner_iface
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Pause(IActiveIMMMessagePumpOwner *iface, DWORD *cookie)
static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl
static HRESULT WINAPI ActiveIMMApp_GetVirtualKey(IActiveIMMApp *This, HWND hWnd, UINT *puVirtualKey)
static HRESULT WINAPI ActiveIMMApp_GetCandidateListW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
DWORD WINAPI ImmGetImeMenuItemsW(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOW lpImeParentMenu, LPIMEMENUITEMINFOW lpImeMenu, DWORD dwSize)
static HRESULT WINAPI ActiveIMMApp_NotifyIME(IActiveIMMApp *This, HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
HKL WINAPI ImmInstallIMEW(LPCWSTR lpszIMEFileName, LPCWSTR lpszLayoutText)
static HRESULT WINAPI ActiveIMMApp_GetConversionStatus(IActiveIMMApp *This, HIMC hIMC, DWORD *pfdwConversion, DWORD *pfdwSentence)
static ULONG WINAPI ActiveIMMApp_AddRef(IActiveIMMApp *iface)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
static HRESULT WINAPI ActiveIMMApp_QueryInterface(IActiveIMMApp *iface, REFIID iid, LPVOID *ppvOut)
static HRESULT WINAPI ActiveIMMApp_Activate(IActiveIMMApp *This, BOOL fRestoreLayout)
DWORD WINAPI ImmGetCandidateListW(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
static HRESULT WINAPI ActiveIMMApp_OnDefWindowProc(IActiveIMMApp *This, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
static ULONG WINAPI ActiveIMMMessagePumpOwner_Release(IActiveIMMMessagePumpOwner *iface)
BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
IActiveIMMApp IActiveIMMApp_iface
static HRESULT WINAPI ActiveIMMApp_InstallIMEW(IActiveIMMApp *This, LPWSTR szIMEFileName, LPWSTR szLayoutText, HKL *phKL)
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameW(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szFileName, UINT *puCopied)
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontA(IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameA(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szFileName, UINT *puCopied)
static HRESULT WINAPI ActiveIMMApp_GetDefaultIMEWnd(IActiveIMMApp *This, HWND hWnd, HWND *phDefWnd)
BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_ DWORD _In_ DWORD dwBufLen
static HRESULT WINAPI ActiveIMMApp_GetProperty(IActiveIMMApp *This, HKL hKL, DWORD fdwIndex, DWORD *pdwProperty)
static HRESULT WINAPI ActiveIMMApp_EscapeW(IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
static void ActiveIMMApp_Destructor(ActiveIMMApp *This)
static HRESULT WINAPI ActiveIMMApp_SetCompositionWindow(IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
LONG WINAPI ImmGetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
BOOL WINAPI ImmDestroyContext(HIMC hIMC)
static HRESULT WINAPI ActiveIMMApp_RegisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister)
static HRESULT WINAPI ActiveIMMApp_FilterClientWindows(IActiveIMMApp *This, ATOM *aaClassList, UINT uSize)
BOOL WINAPI ImmIsIME(HKL hKL)
BOOL WINAPI ImmSetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
BOOL WINAPI ImmGetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
static HRESULT WINAPI ActiveIMMApp_GetCandidateWindow(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, CANDIDATEFORM *pCandidate)
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
LRESULT WINAPI ImmEscapeW(HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData)
static HRESULT WINAPI ActiveIMMMessagePumpOwner_End(IActiveIMMMessagePumpOwner *iface)
UINT WINAPI ImmGetDescriptionA(HKL hKL, LPSTR lpszDescription, UINT uBufLen)
DWORD WINAPI ImmGetConversionListA(HKL hKL, HIMC hIMC, LPCSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
HKL WINAPI ImmInstallIMEA(LPCSTR lpszIMEFileName, LPCSTR lpszLayoutText)
static HRESULT WINAPI ActiveIMMApp_IsIME(IActiveIMMApp *This, HKL hKL)
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEW(IActiveIMMApp *This, HKL hKL, HWND hWnd, DWORD dwMode, REGISTERWORDW *pData)
static ActiveIMMApp * impl_from_IActiveIMMMessagePumpOwner(IActiveIMMMessagePumpOwner *iface)
DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister, LPVOID pData, IEnumRegisterWordW **pEnum)
HIMC WINAPI ImmCreateContext(void)
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
static HRESULT WINAPI ActiveIMMApp_ReleaseContext(IActiveIMMApp *This, HWND hWnd, HIMC hIMC)
BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
UINT WINAPI ImmGetIMEFileNameA(HKL hKL, LPSTR lpszFileName, UINT uBufLen)
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEA(IActiveIMMApp *This, HKL hKL, HWND hwnd, DWORD dwMode, REGISTERWORDA *pData)
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontW(IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
BOOL WINAPI ImmUnregisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
static HRESULT WINAPI ActiveIMMApp_GetCompositionWindow(IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
static HRESULT WINAPI ActiveIMMApp_GetConversionListW(IActiveIMMApp *This, HKL hKL, HIMC hIMC, LPWSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST *pDst, UINT *puCopied)
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
static HRESULT WINAPI ActiveIMMApp_InstallIMEA(IActiveIMMApp *This, LPSTR szIMEFileName, LPSTR szLayoutText, HKL *phKL)
LONG WINAPI ImmGetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
HIMC WINAPI ImmGetContext(HWND hWnd)
DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen)
static HRESULT WINAPI ActiveIMMApp_UnregisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szUnregister)
BOOL WINAPI ImmSetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen)
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister, LPVOID pData, IEnumRegisterWordA **pEnum)
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleA(IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFA *pStyleBuf, UINT *puCopied)
WINE_DEFAULT_DEBUG_CHANNEL(msimtf)
static ULONG WINAPI ActiveIMMMessagePumpOwner_AddRef(IActiveIMMMessagePumpOwner *iface)
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountW(IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
static HRESULT WINAPI ActiveIMMApp_SimulateHotKey(IActiveIMMApp *This, HWND hwnd, DWORD dwHotKeyID)
static HRESULT WINAPI ActiveIMMApp_DisableIME(IActiveIMMApp *This, DWORD idThread)
DWORD WINAPI ImmGetImeMenuItemsA(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOA lpImeParentMenu, LPIMEMENUITEMINFOA lpImeMenu, DWORD dwSize)
static HRESULT WINAPI ActiveIMMApp_GetLangId(IActiveIMMApp *This, HKL hKL, LANGID *plid)
#define InterlockedDecrement
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
BOOL WINAPI ImmDisableIME(DWORD idThread)
static const IActiveIMMAppVtbl ActiveIMMAppVtbl
#define CLASS_E_NOAGGREGATION
static HRESULT WINAPI ActiveIMMApp_GetDescriptionW(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szDescription, UINT *puCopied)
HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)
BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
static HRESULT WINAPI ActiveIMMApp_IsUIMessageA(IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
static HRESULT WINAPI ActiveIMMApp_SetConversionStatus(IActiveIMMApp *This, HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
static ULONG WINAPI ActiveIMMApp_Release(IActiveIMMApp *iface)
UINT WINAPI ImmGetRegisterWordStyleA(HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
DWORD WINAPI ImmGetProperty(HKL hKL, DWORD fdwIndex)
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontA(IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
static HRESULT WINAPI ActiveIMMApp_GetConversionListA(IActiveIMMApp *This, HKL hKL, HIMC hIMC, LPSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST *pDst, UINT *puCopied)
BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
#define InterlockedIncrement
static HRESULT WINAPI ActiveIMMApp_UnregisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szUnregister)
BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
BOOL WINAPI ImmSimulateHotKey(HWND hWnd, DWORD dwHotKeyID)
UINT WINAPI ImmGetDescriptionW(HKL hKL, LPWSTR lpszDescription, UINT uBufLen)
static HRESULT WINAPI ActiveIMMApp_IsUIMessageW(IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
static HRESULT WINAPI ActiveIMMApp_RegisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister)
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Start(IActiveIMMMessagePumpOwner *iface)
BOOL WINAPI ImmRegisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
DWORD WINAPI ImmGetCandidateListA(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
BOOL WINAPI ImmConfigureIMEA(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
static HRESULT WINAPI ActiveIMMApp_GetContext(IActiveIMMApp *This, HWND hwnd, HIMC *phIMC)
static HRESULT WINAPI ActiveIMMApp_GetImeMenuItemsW(IActiveIMMApp *This, HIMC hIMC, DWORD dwFlags, DWORD dwType, IMEMENUITEMINFOW *pImeParentMenu, IMEMENUITEMINFOW *pImeMenu, DWORD dwSize, DWORD *pdwResult)
BOOL WINAPI ImmGetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
static HRESULT WINAPI ActiveIMMApp_SetOpenStatus(IActiveIMMApp *This, HIMC hIMC, BOOL fOpen)
static HRESULT WINAPI ActiveIMMApp_DestroyContext(IActiveIMMApp *This, HIMC hIME)
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
static HRESULT WINAPI ActiveIMMApp_GetStatusWindowPos(IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
static HRESULT WINAPI ActiveIMMApp_GetCodePageA(IActiveIMMApp *This, HKL hKL, UINT *uCodePage)
LRESULT WINAPI ImmEscapeA(HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData)
BOOL WINAPI ImmSetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate)
static HRESULT WINAPI ActiveIMMApp_SetCandidateWindow(IActiveIMMApp *This, HIMC hIMC, CANDIDATEFORM *pCandidate)
static HRESULT WINAPI ActiveIMMApp_GetGuideLineW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf, DWORD *pdwResult)
BOOL WINAPI ImmSetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen)
BOOL WINAPI ImmGetCandidateWindow(HIMC hIMC, DWORD dwIndex, LPCANDIDATEFORM lpCandidate)
static HRESULT WINAPI ActiveIMMApp_GetImeMenuItemsA(IActiveIMMApp *This, HIMC hIMC, DWORD dwFlags, DWORD dwType, IMEMENUITEMINFOA *pImeParentMenu, IMEMENUITEMINFOA *pImeMenu, DWORD dwSize, DWORD *pdwResult)
static HRESULT WINAPI ActiveIMMApp_GetDescriptionA(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szDescription, UINT *puCopied)
DWORD WINAPI ImmGetGuideLineA(HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen)
BOOL WINAPI ImmSetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
BOOL WINAPI ImmNotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
UINT WINAPI ImmGetIMEFileNameW(HKL hKL, LPWSTR lpszFileName, UINT uBufLen)
struct tagActiveIMMApp ActiveIMMApp
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountA(IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
static ActiveIMMApp * impl_from_IActiveIMMApp(IActiveIMMApp *iface)
DWORD WINAPI ImmGetConversionListW(HKL hKL, HIMC hIMC, LPCWSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleW(IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFW *pStyleBuf, UINT *puCopied)
BOOL WINAPI ImmIsUIMessageW(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI ImmRegisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
static HRESULT WINAPI ActiveIMMApp_AssociateContext(IActiveIMMApp *iface, HWND hWnd, HIMC hIME, HIMC *phPrev)
#define HeapFree(x, y, z)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
#define IsEqualIID(riid1, riid2)
static HRESULT WINAPI ActiveIMMApp_AssociateContextEx(IActiveIMMApp *This, HWND hWnd, HIMC hIMC, DWORD dwFlags)
static HRESULT WINAPI ActiveIMMMessagePumpOwner_QueryInterface(IActiveIMMMessagePumpOwner *iface, REFIID iid, LPVOID *ppvOut)
UINT WINAPI ImmGetRegisterWordStyleW(HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
static HRESULT WINAPI ActiveIMMApp_CreateContext(IActiveIMMApp *This, HIMC *phIMC)
static HRESULT WINAPI ActiveIMMApp_EscapeA(IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
static const WCHAR szDescription[]
static HRESULT WINAPI ActiveIMMApp_Deactivate(IActiveIMMApp *This)
static HRESULT WINAPI ActiveIMMApp_EnumInputContext(IActiveIMMApp *This, DWORD idThread, IEnumInputContext **ppEnum)
static HRESULT WINAPI ActiveIMMMessagePumpOwner_OnTranslateMessage(IActiveIMMMessagePumpOwner *iface, const MSG *msg)
static HRESULT WINAPI ActiveIMMApp_SetStatusWindowPos(IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Resume(IActiveIMMMessagePumpOwner *iface, DWORD cookie)
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
static HRESULT WINAPI ActiveIMMApp_GetOpenStatus(IActiveIMMApp *This, HIMC hIMC)