ReactOS 0.4.16-dev-311-g9382aa2
activeimmapp.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winreg.h"
#include "winuser.h"
#include "winerror.h"
#include "objbase.h"
#include "dimm.h"
#include "imm.h"
#include "wine/debug.h"
Include dependency graph for activeimmapp.c:

Go to the source code of this file.

Classes

struct  tagActiveIMMApp
 

Macros

#define COBJMACROS
 

Typedefs

typedef struct tagActiveIMMApp ActiveIMMApp
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msimtf)
 
static ActiveIMMAppimpl_from_IActiveIMMApp (IActiveIMMApp *iface)
 
static void ActiveIMMApp_Destructor (ActiveIMMApp *This)
 
static HRESULT WINAPI ActiveIMMApp_QueryInterface (IActiveIMMApp *iface, REFIID iid, LPVOID *ppvOut)
 
static ULONG WINAPI ActiveIMMApp_AddRef (IActiveIMMApp *iface)
 
static ULONG WINAPI ActiveIMMApp_Release (IActiveIMMApp *iface)
 
static HRESULT WINAPI ActiveIMMApp_AssociateContext (IActiveIMMApp *iface, HWND hWnd, HIMC hIME, HIMC *phPrev)
 
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEA (IActiveIMMApp *This, HKL hKL, HWND hwnd, DWORD dwMode, REGISTERWORDA *pData)
 
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEW (IActiveIMMApp *This, HKL hKL, HWND hWnd, DWORD dwMode, REGISTERWORDW *pData)
 
static HRESULT WINAPI ActiveIMMApp_CreateContext (IActiveIMMApp *This, HIMC *phIMC)
 
static HRESULT WINAPI ActiveIMMApp_DestroyContext (IActiveIMMApp *This, HIMC hIME)
 
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordA (IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister, LPVOID pData, IEnumRegisterWordA **pEnum)
 
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordW (IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister, LPVOID pData, IEnumRegisterWordW **pEnum)
 
static HRESULT WINAPI ActiveIMMApp_EscapeA (IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
 
static HRESULT WINAPI ActiveIMMApp_EscapeW (IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
 
static HRESULT WINAPI ActiveIMMApp_GetCandidateListA (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetCandidateListW (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountA (IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
 
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountW (IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
 
static HRESULT WINAPI ActiveIMMApp_GetCandidateWindow (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, CANDIDATEFORM *pCandidate)
 
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontA (IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
 
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontW (IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
 
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringA (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
 
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringW (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
 
static HRESULT WINAPI ActiveIMMApp_GetCompositionWindow (IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
 
static HRESULT WINAPI ActiveIMMApp_GetContext (IActiveIMMApp *This, HWND hwnd, HIMC *phIMC)
 
static HRESULT WINAPI ActiveIMMApp_GetConversionListA (IActiveIMMApp *This, HKL hKL, HIMC hIMC, LPSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST *pDst, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetConversionListW (IActiveIMMApp *This, HKL hKL, HIMC hIMC, LPWSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST *pDst, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetConversionStatus (IActiveIMMApp *This, HIMC hIMC, DWORD *pfdwConversion, DWORD *pfdwSentence)
 
static HRESULT WINAPI ActiveIMMApp_GetDefaultIMEWnd (IActiveIMMApp *This, HWND hWnd, HWND *phDefWnd)
 
static HRESULT WINAPI ActiveIMMApp_GetDescriptionA (IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szDescription, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetDescriptionW (IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szDescription, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetGuideLineA (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPSTR pBuf, DWORD *pdwResult)
 
static HRESULT WINAPI ActiveIMMApp_GetGuideLineW (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf, DWORD *pdwResult)
 
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameA (IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szFileName, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameW (IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szFileName, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetOpenStatus (IActiveIMMApp *This, HIMC hIMC)
 
static HRESULT WINAPI ActiveIMMApp_GetProperty (IActiveIMMApp *This, HKL hKL, DWORD fdwIndex, DWORD *pdwProperty)
 
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleA (IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFA *pStyleBuf, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleW (IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFW *pStyleBuf, UINT *puCopied)
 
static HRESULT WINAPI ActiveIMMApp_GetStatusWindowPos (IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
 
static HRESULT WINAPI ActiveIMMApp_GetVirtualKey (IActiveIMMApp *This, HWND hWnd, UINT *puVirtualKey)
 
static HRESULT WINAPI ActiveIMMApp_InstallIMEA (IActiveIMMApp *This, LPSTR szIMEFileName, LPSTR szLayoutText, HKL *phKL)
 
static HRESULT WINAPI ActiveIMMApp_InstallIMEW (IActiveIMMApp *This, LPWSTR szIMEFileName, LPWSTR szLayoutText, HKL *phKL)
 
static HRESULT WINAPI ActiveIMMApp_IsIME (IActiveIMMApp *This, HKL hKL)
 
static HRESULT WINAPI ActiveIMMApp_IsUIMessageA (IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
 
static HRESULT WINAPI ActiveIMMApp_IsUIMessageW (IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
 
static HRESULT WINAPI ActiveIMMApp_NotifyIME (IActiveIMMApp *This, HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
 
static HRESULT WINAPI ActiveIMMApp_RegisterWordA (IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister)
 
static HRESULT WINAPI ActiveIMMApp_RegisterWordW (IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister)
 
static HRESULT WINAPI ActiveIMMApp_ReleaseContext (IActiveIMMApp *This, HWND hWnd, HIMC hIMC)
 
static HRESULT WINAPI ActiveIMMApp_SetCandidateWindow (IActiveIMMApp *This, HIMC hIMC, CANDIDATEFORM *pCandidate)
 
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontA (IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
 
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontW (IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
 
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringA (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
 
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringW (IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
 
static HRESULT WINAPI ActiveIMMApp_SetCompositionWindow (IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
 
static HRESULT WINAPI ActiveIMMApp_SetConversionStatus (IActiveIMMApp *This, HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
 
static HRESULT WINAPI ActiveIMMApp_SetOpenStatus (IActiveIMMApp *This, HIMC hIMC, BOOL fOpen)
 
static HRESULT WINAPI ActiveIMMApp_SetStatusWindowPos (IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
 
static HRESULT WINAPI ActiveIMMApp_SimulateHotKey (IActiveIMMApp *This, HWND hwnd, DWORD dwHotKeyID)
 
static HRESULT WINAPI ActiveIMMApp_UnregisterWordA (IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szUnregister)
 
static HRESULT WINAPI ActiveIMMApp_UnregisterWordW (IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szUnregister)
 
static HRESULT WINAPI ActiveIMMApp_Activate (IActiveIMMApp *This, BOOL fRestoreLayout)
 
static HRESULT WINAPI ActiveIMMApp_Deactivate (IActiveIMMApp *This)
 
static HRESULT WINAPI ActiveIMMApp_OnDefWindowProc (IActiveIMMApp *This, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
 
static HRESULT WINAPI ActiveIMMApp_FilterClientWindows (IActiveIMMApp *This, ATOM *aaClassList, UINT uSize)
 
static HRESULT WINAPI ActiveIMMApp_GetCodePageA (IActiveIMMApp *This, HKL hKL, UINT *uCodePage)
 
static HRESULT WINAPI ActiveIMMApp_GetLangId (IActiveIMMApp *This, HKL hKL, LANGID *plid)
 
static HRESULT WINAPI ActiveIMMApp_AssociateContextEx (IActiveIMMApp *This, HWND hWnd, HIMC hIMC, DWORD dwFlags)
 
static HRESULT WINAPI ActiveIMMApp_DisableIME (IActiveIMMApp *This, DWORD idThread)
 
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_GetImeMenuItemsW (IActiveIMMApp *This, HIMC hIMC, DWORD dwFlags, DWORD dwType, IMEMENUITEMINFOW *pImeParentMenu, IMEMENUITEMINFOW *pImeMenu, DWORD dwSize, DWORD *pdwResult)
 
static HRESULT WINAPI ActiveIMMApp_EnumInputContext (IActiveIMMApp *This, DWORD idThread, IEnumInputContext **ppEnum)
 
static ActiveIMMAppimpl_from_IActiveIMMMessagePumpOwner (IActiveIMMMessagePumpOwner *iface)
 
static HRESULT WINAPI ActiveIMMMessagePumpOwner_QueryInterface (IActiveIMMMessagePumpOwner *iface, REFIID iid, LPVOID *ppvOut)
 
static ULONG WINAPI ActiveIMMMessagePumpOwner_AddRef (IActiveIMMMessagePumpOwner *iface)
 
static ULONG WINAPI ActiveIMMMessagePumpOwner_Release (IActiveIMMMessagePumpOwner *iface)
 
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Start (IActiveIMMMessagePumpOwner *iface)
 
static HRESULT WINAPI ActiveIMMMessagePumpOwner_End (IActiveIMMMessagePumpOwner *iface)
 
static HRESULT WINAPI ActiveIMMMessagePumpOwner_OnTranslateMessage (IActiveIMMMessagePumpOwner *iface, const MSG *msg)
 
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Pause (IActiveIMMMessagePumpOwner *iface, DWORD *cookie)
 
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Resume (IActiveIMMMessagePumpOwner *iface, DWORD cookie)
 
DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor (IUnknown *pUnkOuter, IUnknown **ppOut)
 

Variables

static const IActiveIMMAppVtbl ActiveIMMAppVtbl
 
static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 23 of file activeimmapp.c.

Typedef Documentation

◆ ActiveIMMApp

Function Documentation

◆ ActiveIMMApp_Activate()

static HRESULT WINAPI ActiveIMMApp_Activate ( IActiveIMMApp This,
BOOL  fRestoreLayout 
)
static

Definition at line 647 of file activeimmapp.c.

649{
650 FIXME("Stub\n");
651 return S_OK;
652}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define S_OK
Definition: intsafe.h:52

◆ ActiveIMMApp_AddRef()

static ULONG WINAPI ActiveIMMApp_AddRef ( IActiveIMMApp iface)
static

Definition at line 81 of file activeimmapp.c.

82{
84 return InterlockedIncrement(&This->refCount);
85}
static ActiveIMMApp * impl_from_IActiveIMMApp(IActiveIMMApp *iface)
Definition: activeimmapp.c:45
#define InterlockedIncrement
Definition: armddk.h:53

◆ ActiveIMMApp_AssociateContext()

static HRESULT WINAPI ActiveIMMApp_AssociateContext ( IActiveIMMApp iface,
HWND  hWnd,
HIMC  hIME,
HIMC phPrev 
)
static

Definition at line 98 of file activeimmapp.c.

100{
101 *phPrev = ImmAssociateContext(hWnd,hIME);
102 return S_OK;
103}
HWND hWnd
Definition: settings.c:17
HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:492

◆ ActiveIMMApp_AssociateContextEx()

static HRESULT WINAPI ActiveIMMApp_AssociateContextEx ( IActiveIMMApp This,
HWND  hWnd,
HIMC  hIMC,
DWORD  dwFlags 
)
static

Definition at line 690 of file activeimmapp.c.

692{
693 BOOL rc;
694
696
697 if (rc)
698 return S_OK;
699 else
700 return E_FAIL;
701}
#define E_FAIL
Definition: ddrawi.h:102
BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
Definition: imm.c:541
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176

◆ ActiveIMMApp_ConfigureIMEA()

static HRESULT WINAPI ActiveIMMApp_ConfigureIMEA ( IActiveIMMApp This,
HKL  hKL,
HWND  hwnd,
DWORD  dwMode,
REGISTERWORDA pData 
)
static

Definition at line 105 of file activeimmapp.c.

107{
108 BOOL rc;
109
110 rc = ImmConfigureIMEA(hKL, hwnd, dwMode, pData);
111 if (rc)
112 return E_FAIL;
113 else
114 return S_OK;
115}
BOOL WINAPI ImmConfigureIMEA(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
Definition: ime.c:2000
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023

◆ ActiveIMMApp_ConfigureIMEW()

static HRESULT WINAPI ActiveIMMApp_ConfigureIMEW ( IActiveIMMApp This,
HKL  hKL,
HWND  hWnd,
DWORD  dwMode,
REGISTERWORDW pData 
)
static

Definition at line 117 of file activeimmapp.c.

119{
120 BOOL rc;
121
122 rc = ImmConfigureIMEW(hKL, hWnd, dwMode, pData);
123 if (rc)
124 return E_FAIL;
125 else
126 return S_OK;
127}
BOOL WINAPI ImmConfigureIMEW(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
Definition: ime.c:2055

◆ ActiveIMMApp_Constructor()

DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor ( IUnknown pUnkOuter,
IUnknown **  ppOut 
)

Definition at line 892 of file activeimmapp.c.

893{
895 if (pUnkOuter)
897
899 if (This == NULL)
900 return E_OUTOFMEMORY;
901
902 This->IActiveIMMApp_iface.lpVtbl = &ActiveIMMAppVtbl;
903 This->IActiveIMMMessagePumpOwner_iface.lpVtbl = &ActiveIMMMessagePumpOwnerVtbl;
904 This->refCount = 1;
905
906 TRACE("returning %p\n",This);
907 *ppOut = (IUnknown *)&This->IActiveIMMApp_iface;
908 return S_OK;
909}
static const IActiveIMMAppVtbl ActiveIMMAppVtbl
Definition: activeimmapp.c:741
static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl
Definition: activeimmapp.c:880
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define NULL
Definition: types.h:112
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
#define TRACE(s)
Definition: solgame.cpp:4
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662

Referenced by DllGetClassObject().

◆ ActiveIMMApp_CreateContext()

static HRESULT WINAPI ActiveIMMApp_CreateContext ( IActiveIMMApp This,
HIMC phIMC 
)
static

Definition at line 129 of file activeimmapp.c.

131{
132 *phIMC = ImmCreateContext();
133 if (*phIMC)
134 return S_OK;
135 else
136 return E_FAIL;
137}
HIMC WINAPI ImmCreateContext(void)
Definition: imm.c:591

◆ ActiveIMMApp_Deactivate()

static HRESULT WINAPI ActiveIMMApp_Deactivate ( IActiveIMMApp This)
static

Definition at line 654 of file activeimmapp.c.

655{
656 FIXME("Stub\n");
657 return S_OK;
658}

◆ ActiveIMMApp_DestroyContext()

static HRESULT WINAPI ActiveIMMApp_DestroyContext ( IActiveIMMApp This,
HIMC  hIME 
)
static

Definition at line 139 of file activeimmapp.c.

141{
142 BOOL rc;
143
144 rc = ImmDestroyContext(hIME);
145 if (rc)
146 return S_OK;
147 else
148 return E_FAIL;
149}
BOOL WINAPI ImmDestroyContext(HIMC hIMC)
Definition: imm.c:916

◆ ActiveIMMApp_Destructor()

static void ActiveIMMApp_Destructor ( ActiveIMMApp This)
static

Definition at line 50 of file activeimmapp.c.

51{
52 TRACE("\n");
54}
#define HeapFree(x, y, z)
Definition: compat.h:735

Referenced by ActiveIMMApp_Release().

◆ ActiveIMMApp_DisableIME()

static HRESULT WINAPI ActiveIMMApp_DisableIME ( IActiveIMMApp This,
DWORD  idThread 
)
static

Definition at line 703 of file activeimmapp.c.

705{
706 BOOL rc;
707
708 rc = ImmDisableIME(idThread);
709
710 if (rc)
711 return S_OK;
712 else
713 return E_FAIL;
714}
BOOL WINAPI ImmDisableIME(DWORD dwThreadId)
Definition: ime.c:1074

◆ ActiveIMMApp_EnumInputContext()

static HRESULT WINAPI ActiveIMMApp_EnumInputContext ( IActiveIMMApp This,
DWORD  idThread,
IEnumInputContext **  ppEnum 
)
static

Definition at line 734 of file activeimmapp.c.

736{
737 FIXME("Stub\n");
738 return E_NOTIMPL;
739}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ActiveIMMApp_EnumRegisterWordA()

static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordA ( IActiveIMMApp This,
HKL  hKL,
LPSTR  szReading,
DWORD  dwStyle,
LPSTR  szRegister,
LPVOID  pData,
IEnumRegisterWordA **  pEnum 
)
static

Definition at line 151 of file activeimmapp.c.

154{
155 FIXME("Stub\n");
156 return E_NOTIMPL;
157}

◆ ActiveIMMApp_EnumRegisterWordW()

static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordW ( IActiveIMMApp This,
HKL  hKL,
LPWSTR  szReading,
DWORD  dwStyle,
LPWSTR  szRegister,
LPVOID  pData,
IEnumRegisterWordW **  pEnum 
)
static

Definition at line 159 of file activeimmapp.c.

162{
163 FIXME("Stub\n");
164 return E_NOTIMPL;
165}

◆ ActiveIMMApp_EscapeA()

static HRESULT WINAPI ActiveIMMApp_EscapeA ( IActiveIMMApp This,
HKL  hKL,
HIMC  hIMC,
UINT  uEscape,
LPVOID  pData,
LRESULT plResult 
)
static

Definition at line 167 of file activeimmapp.c.

169{
170 *plResult = ImmEscapeA(hKL, hIMC, uEscape, pData);
171 return S_OK;
172}
LRESULT WINAPI ImmEscapeA(HKL hKL, HIMC hIMC, UINT uSubFunc, LPVOID lpData)
Definition: ime.c:1277

◆ ActiveIMMApp_EscapeW()

static HRESULT WINAPI ActiveIMMApp_EscapeW ( IActiveIMMApp This,
HKL  hKL,
HIMC  hIMC,
UINT  uEscape,
LPVOID  pData,
LRESULT plResult 
)
static

Definition at line 174 of file activeimmapp.c.

176{
177 *plResult = ImmEscapeW(hKL, hIMC, uEscape, pData);
178 return S_OK;
179}
LRESULT WINAPI ImmEscapeW(HKL hKL, HIMC hIMC, UINT uSubFunc, LPVOID lpData)
Definition: ime.c:1365

◆ ActiveIMMApp_FilterClientWindows()

static HRESULT WINAPI ActiveIMMApp_FilterClientWindows ( IActiveIMMApp This,
ATOM aaClassList,
UINT  uSize 
)
static

Definition at line 669 of file activeimmapp.c.

671{
672 FIXME("Stub\n");
673 return S_OK;
674}

◆ ActiveIMMApp_GetCandidateListA()

static HRESULT WINAPI ActiveIMMApp_GetCandidateListA ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
UINT  uBufLen,
CANDIDATELIST pCandList,
UINT puCopied 
)
static

Definition at line 181 of file activeimmapp.c.

184{
185 *puCopied = ImmGetCandidateListA(hIMC, dwIndex, pCandList, uBufLen);
186 return S_OK;
187}
DWORD WINAPI ImmGetCandidateListA(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
Definition: candidate.c:343

◆ ActiveIMMApp_GetCandidateListCountA()

static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountA ( IActiveIMMApp This,
HIMC  hIMC,
DWORD pdwListSize,
DWORD pdwBufLen 
)
static

Definition at line 197 of file activeimmapp.c.

199{
200 *pdwBufLen = ImmGetCandidateListCountA(hIMC, pdwListSize);
201 return S_OK;
202}
DWORD WINAPI ImmGetCandidateListCountA(HIMC hIMC, LPDWORD lpdwListCount)
Definition: candidate.c:351

◆ ActiveIMMApp_GetCandidateListCountW()

static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountW ( IActiveIMMApp This,
HIMC  hIMC,
DWORD pdwListSize,
DWORD pdwBufLen 
)
static

Definition at line 204 of file activeimmapp.c.

206{
207 *pdwBufLen = ImmGetCandidateListCountA(hIMC, pdwListSize);
208 return S_OK;
209}

◆ ActiveIMMApp_GetCandidateListW()

static HRESULT WINAPI ActiveIMMApp_GetCandidateListW ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
UINT  uBufLen,
CANDIDATELIST pCandList,
UINT puCopied 
)
static

Definition at line 189 of file activeimmapp.c.

192{
193 *puCopied = ImmGetCandidateListW(hIMC, dwIndex, pCandList, uBufLen);
194 return S_OK;
195}
DWORD WINAPI ImmGetCandidateListW(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
Definition: candidate.c:368

◆ ActiveIMMApp_GetCandidateWindow()

static HRESULT WINAPI ActiveIMMApp_GetCandidateWindow ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
CANDIDATEFORM pCandidate 
)
static

Definition at line 211 of file activeimmapp.c.

213{
214 BOOL rc;
215 rc = ImmGetCandidateWindow(hIMC,dwIndex,pCandidate);
216 if (rc)
217 return S_OK;
218 else
219 return E_FAIL;
220}
BOOL WINAPI ImmGetCandidateWindow(HIMC hIMC, DWORD dwIndex, LPCANDIDATEFORM lpCandidate)
Definition: candidate.c:377

◆ ActiveIMMApp_GetCodePageA()

static HRESULT WINAPI ActiveIMMApp_GetCodePageA ( IActiveIMMApp This,
HKL  hKL,
UINT uCodePage 
)
static

Definition at line 676 of file activeimmapp.c.

678{
679 FIXME("Stub\n");
680 return E_NOTIMPL;
681}

◆ ActiveIMMApp_GetCompositionFontA()

static HRESULT WINAPI ActiveIMMApp_GetCompositionFontA ( IActiveIMMApp This,
HIMC  hIMC,
LOGFONTA plf 
)
static

Definition at line 222 of file activeimmapp.c.

224{
225 BOOL rc;
226 rc = ImmGetCompositionFontA(hIMC,plf);
227 if (rc)
228 return S_OK;
229 else
230 return E_FAIL;
231}
BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: ime.c:1615

◆ ActiveIMMApp_GetCompositionFontW()

static HRESULT WINAPI ActiveIMMApp_GetCompositionFontW ( IActiveIMMApp This,
HIMC  hIMC,
LOGFONTW plf 
)
static

Definition at line 233 of file activeimmapp.c.

235{
236 BOOL rc;
237 rc = ImmGetCompositionFontW(hIMC,plf);
238 if (rc)
239 return S_OK;
240 else
241 return E_FAIL;
242}
BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: ime.c:1651

◆ ActiveIMMApp_GetCompositionStringA()

static HRESULT WINAPI ActiveIMMApp_GetCompositionStringA ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
DWORD  dwBufLen,
LONG plCopied,
LPVOID  pBuf 
)
static

Definition at line 244 of file activeimmapp.c.

246{
247 *plCopied = ImmGetCompositionStringA(hIMC, dwIndex, pBuf, dwBufLen);
248 return S_OK;
249}
LONG WINAPI ImmGetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
Definition: compstr.c:856
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_ DWORD _In_ DWORD dwBufLen
Definition: wincrypt.h:4246

◆ ActiveIMMApp_GetCompositionStringW()

static HRESULT WINAPI ActiveIMMApp_GetCompositionStringW ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
DWORD  dwBufLen,
LONG plCopied,
LPVOID  pBuf 
)
static

Definition at line 251 of file activeimmapp.c.

253{
254 *plCopied = ImmGetCompositionStringW(hIMC, dwIndex, pBuf, dwBufLen);
255 return S_OK;
256}
LONG WINAPI ImmGetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
Definition: compstr.c:899

◆ ActiveIMMApp_GetCompositionWindow()

static HRESULT WINAPI ActiveIMMApp_GetCompositionWindow ( IActiveIMMApp This,
HIMC  hIMC,
COMPOSITIONFORM pCompForm 
)
static

Definition at line 258 of file activeimmapp.c.

260{
261 BOOL rc;
262
263 rc = ImmGetCompositionWindow(hIMC,pCompForm);
264
265 if (rc)
266 return S_OK;
267 else
268 return E_FAIL;
269}
BOOL WINAPI ImmGetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
Definition: ime.c:1559

◆ ActiveIMMApp_GetContext()

static HRESULT WINAPI ActiveIMMApp_GetContext ( IActiveIMMApp This,
HWND  hwnd,
HIMC phIMC 
)
static

Definition at line 271 of file activeimmapp.c.

273{
274 *phIMC = ImmGetContext(hwnd);
275 return S_OK;
276}
HIMC WINAPI ImmGetContext(HWND hWnd)
Definition: imm.c:1045

◆ ActiveIMMApp_GetConversionListA()

static HRESULT WINAPI ActiveIMMApp_GetConversionListA ( IActiveIMMApp This,
HKL  hKL,
HIMC  hIMC,
LPSTR  pSrc,
UINT  uBufLen,
UINT  uFlag,
CANDIDATELIST pDst,
UINT puCopied 
)
static

Definition at line 278 of file activeimmapp.c.

281{
282 *puCopied = ImmGetConversionListA(hKL, hIMC, pSrc, pDst, uBufLen, uFlag);
283 return S_OK;
284}
DWORD WINAPI ImmGetConversionListA(HKL hKL, HIMC hIMC, LPCSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
Definition: ime.c:1801

◆ ActiveIMMApp_GetConversionListW()

static HRESULT WINAPI ActiveIMMApp_GetConversionListW ( IActiveIMMApp This,
HKL  hKL,
HIMC  hIMC,
LPWSTR  pSrc,
UINT  uBufLen,
UINT  uFlag,
CANDIDATELIST pDst,
UINT puCopied 
)
static

Definition at line 286 of file activeimmapp.c.

289{
290 *puCopied = ImmGetConversionListW(hKL, hIMC, pSrc, pDst, uBufLen, uFlag);
291 return S_OK;
292}
DWORD WINAPI ImmGetConversionListW(HKL hKL, HIMC hIMC, LPCWSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
Definition: ime.c:1857

◆ ActiveIMMApp_GetConversionStatus()

static HRESULT WINAPI ActiveIMMApp_GetConversionStatus ( IActiveIMMApp This,
HIMC  hIMC,
DWORD pfdwConversion,
DWORD pfdwSentence 
)
static

Definition at line 294 of file activeimmapp.c.

296{
297 BOOL rc;
298
299 rc = ImmGetConversionStatus(hIMC, pfdwConversion, pfdwSentence);
300
301 if (rc)
302 return S_OK;
303 else
304 return E_FAIL;
305}
BOOL WINAPI ImmGetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
Definition: ime.c:1912

◆ ActiveIMMApp_GetDefaultIMEWnd()

static HRESULT WINAPI ActiveIMMApp_GetDefaultIMEWnd ( IActiveIMMApp This,
HWND  hWnd,
HWND phDefWnd 
)
static

Definition at line 307 of file activeimmapp.c.

309{
310 *phDefWnd = ImmGetDefaultIMEWnd(hWnd);
311 return S_OK;
312}
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
Definition: ime.c:890

◆ ActiveIMMApp_GetDescriptionA()

static HRESULT WINAPI ActiveIMMApp_GetDescriptionA ( IActiveIMMApp This,
HKL  hKL,
UINT  uBufLen,
LPSTR  szDescription,
UINT puCopied 
)
static

Definition at line 314 of file activeimmapp.c.

316{
317 *puCopied = ImmGetDescriptionA(hKL, szDescription, uBufLen);
318 return S_OK;
319}
static const WCHAR szDescription[]
Definition: provider.c:55
UINT WINAPI ImmGetDescriptionA(HKL hKL, LPSTR lpszDescription, UINT uBufLen)
Definition: ime.c:1082

◆ ActiveIMMApp_GetDescriptionW()

static HRESULT WINAPI ActiveIMMApp_GetDescriptionW ( IActiveIMMApp This,
HKL  hKL,
UINT  uBufLen,
LPWSTR  szDescription,
UINT puCopied 
)
static

Definition at line 321 of file activeimmapp.c.

323{
324 *puCopied = ImmGetDescriptionW(hKL, szDescription, uBufLen);
325 return S_OK;
326}
UINT WINAPI ImmGetDescriptionW(HKL hKL, LPWSTR lpszDescription, UINT uBufLen)
Definition: ime.c:1112

◆ ActiveIMMApp_GetGuideLineA()

static HRESULT WINAPI ActiveIMMApp_GetGuideLineA ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
DWORD  dwBufLen,
LPSTR  pBuf,
DWORD pdwResult 
)
static

Definition at line 328 of file activeimmapp.c.

331{
332 *pdwResult = ImmGetGuideLineA(hIMC, dwIndex, pBuf, dwBufLen);
333 return S_OK;
334}
DWORD WINAPI ImmGetGuideLineA(HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen)
Definition: guideline.c:190
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
Definition: ntgdi.h:250

◆ ActiveIMMApp_GetGuideLineW()

static HRESULT WINAPI ActiveIMMApp_GetGuideLineW ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
DWORD  dwBufLen,
LPWSTR  pBuf,
DWORD pdwResult 
)
static

Definition at line 336 of file activeimmapp.c.

339{
340 *pdwResult = ImmGetGuideLineW(hIMC, dwIndex, pBuf, dwBufLen);
341 return S_OK;
342}
DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen)
Definition: guideline.c:199

◆ ActiveIMMApp_GetIMEFileNameA()

static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameA ( IActiveIMMApp This,
HKL  hKL,
UINT  uBufLen,
LPSTR  szFileName,
UINT puCopied 
)
static

Definition at line 344 of file activeimmapp.c.

346{
347 *puCopied = ImmGetIMEFileNameA(hKL, szFileName, uBufLen);
348 return S_OK;
349}
UINT WINAPI ImmGetIMEFileNameA(HKL hKL, LPSTR lpszFileName, UINT uBufLen)
Definition: ime.c:1141

◆ ActiveIMMApp_GetIMEFileNameW()

static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameW ( IActiveIMMApp This,
HKL  hKL,
UINT  uBufLen,
LPWSTR  szFileName,
UINT puCopied 
)
static

Definition at line 351 of file activeimmapp.c.

353{
354 *puCopied = ImmGetIMEFileNameW(hKL, szFileName, uBufLen);
355 return S_OK;
356}
UINT WINAPI ImmGetIMEFileNameW(HKL hKL, LPWSTR lpszFileName, UINT uBufLen)
Definition: ime.c:1182

◆ ActiveIMMApp_GetImeMenuItemsA()

static HRESULT WINAPI ActiveIMMApp_GetImeMenuItemsA ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwFlags,
DWORD  dwType,
IMEMENUITEMINFOA pImeParentMenu,
IMEMENUITEMINFOA pImeMenu,
DWORD  dwSize,
DWORD pdwResult 
)
static

Definition at line 716 of file activeimmapp.c.

720{
721 *pdwResult = ImmGetImeMenuItemsA(hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize);
722 return S_OK;
723}
DWORD WINAPI ImmGetImeMenuItemsA(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOA lpImeParentMenu, LPIMEMENUITEMINFOA lpImeMenu, DWORD dwSize)
Definition: ime.c:2111
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56

◆ ActiveIMMApp_GetImeMenuItemsW()

static HRESULT WINAPI ActiveIMMApp_GetImeMenuItemsW ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwFlags,
DWORD  dwType,
IMEMENUITEMINFOW pImeParentMenu,
IMEMENUITEMINFOW pImeMenu,
DWORD  dwSize,
DWORD pdwResult 
)
static

Definition at line 725 of file activeimmapp.c.

729{
730 *pdwResult = ImmGetImeMenuItemsW(hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize);
731 return S_OK;
732}
DWORD WINAPI ImmGetImeMenuItemsW(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOW lpImeParentMenu, LPIMEMENUITEMINFOW lpImeMenu, DWORD dwSize)
Definition: ime.c:2124

◆ ActiveIMMApp_GetLangId()

static HRESULT WINAPI ActiveIMMApp_GetLangId ( IActiveIMMApp This,
HKL  hKL,
LANGID plid 
)
static

Definition at line 683 of file activeimmapp.c.

685{
686 FIXME("Stub\n");
687 return E_NOTIMPL;
688}

◆ ActiveIMMApp_GetOpenStatus()

static HRESULT WINAPI ActiveIMMApp_GetOpenStatus ( IActiveIMMApp This,
HIMC  hIMC 
)
static

Definition at line 358 of file activeimmapp.c.

360{
361 return ImmGetOpenStatus(hIMC);
362}
BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
Definition: ime.c:1443

◆ ActiveIMMApp_GetProperty()

static HRESULT WINAPI ActiveIMMApp_GetProperty ( IActiveIMMApp This,
HKL  hKL,
DWORD  fdwIndex,
DWORD pdwProperty 
)
static

Definition at line 364 of file activeimmapp.c.

366{
367 *pdwProperty = ImmGetProperty(hKL, fdwIndex);
368 return S_OK;
369}
DWORD WINAPI ImmGetProperty(HKL hKL, DWORD fdwIndex)
Definition: ime.c:1221

◆ ActiveIMMApp_GetRegisterWordStyleA()

static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleA ( IActiveIMMApp This,
HKL  hKL,
UINT  nItem,
STYLEBUFA pStyleBuf,
UINT puCopied 
)
static

Definition at line 371 of file activeimmapp.c.

373{
374 *puCopied = ImmGetRegisterWordStyleA(hKL, nItem, pStyleBuf);
375 return S_OK;
376}
UINT WINAPI ImmGetRegisterWordStyleA(HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
Definition: regword.c:209

◆ ActiveIMMApp_GetRegisterWordStyleW()

static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleW ( IActiveIMMApp This,
HKL  hKL,
UINT  nItem,
STYLEBUFW pStyleBuf,
UINT puCopied 
)
static

Definition at line 378 of file activeimmapp.c.

380{
381 *puCopied = ImmGetRegisterWordStyleW(hKL, nItem, pStyleBuf);
382 return S_OK;
383}
UINT WINAPI ImmGetRegisterWordStyleW(HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
Definition: regword.c:268

◆ ActiveIMMApp_GetStatusWindowPos()

static HRESULT WINAPI ActiveIMMApp_GetStatusWindowPos ( IActiveIMMApp This,
HIMC  hIMC,
POINT pptPos 
)
static

Definition at line 385 of file activeimmapp.c.

387{
388 BOOL rc;
389 rc = ImmGetStatusWindowPos(hIMC, pptPos);
390
391 if (rc)
392 return S_OK;
393 else
394 return E_FAIL;
395}
BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
Definition: ime.c:1509

◆ ActiveIMMApp_GetVirtualKey()

static HRESULT WINAPI ActiveIMMApp_GetVirtualKey ( IActiveIMMApp This,
HWND  hWnd,
UINT puVirtualKey 
)
static

Definition at line 397 of file activeimmapp.c.

399{
400 *puVirtualKey = ImmGetVirtualKey(hWnd);
401 return S_OK;
402}
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
Definition: keymsg.c:671

◆ ActiveIMMApp_InstallIMEA()

static HRESULT WINAPI ActiveIMMApp_InstallIMEA ( IActiveIMMApp This,
LPSTR  szIMEFileName,
LPSTR  szLayoutText,
HKL phKL 
)
static

Definition at line 404 of file activeimmapp.c.

406{
407 *phKL = ImmInstallIMEA(szIMEFileName,szLayoutText);
408 return S_OK;
409}
HKL WINAPI ImmInstallIMEA(LPCSTR lpszIMEFileName, LPCSTR lpszLayoutText)
Definition: ime.c:748

◆ ActiveIMMApp_InstallIMEW()

static HRESULT WINAPI ActiveIMMApp_InstallIMEW ( IActiveIMMApp This,
LPWSTR  szIMEFileName,
LPWSTR  szLayoutText,
HKL phKL 
)
static

Definition at line 411 of file activeimmapp.c.

413{
414 *phKL = ImmInstallIMEW(szIMEFileName,szLayoutText);
415 return S_OK;
416}
HKL WINAPI ImmInstallIMEW(LPCWSTR lpszIMEFileName, LPCWSTR lpszLayoutText)
Definition: ime.c:774

◆ ActiveIMMApp_IsIME()

static HRESULT WINAPI ActiveIMMApp_IsIME ( IActiveIMMApp This,
HKL  hKL 
)
static

Definition at line 418 of file activeimmapp.c.

420{
421 return ImmIsIME(hKL);
422}
BOOL WINAPI ImmIsIME(HKL hKL)
Definition: ime.c:880

◆ ActiveIMMApp_IsUIMessageA()

static HRESULT WINAPI ActiveIMMApp_IsUIMessageA ( IActiveIMMApp This,
HWND  hWndIME,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 424 of file activeimmapp.c.

426{
427 return ImmIsUIMessageA(hWndIME,msg,wParam,lParam);
428}
#define msg(x)
Definition: auth_time.c:54
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: keymsg.c:610

◆ ActiveIMMApp_IsUIMessageW()

static HRESULT WINAPI ActiveIMMApp_IsUIMessageW ( IActiveIMMApp This,
HWND  hWndIME,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 430 of file activeimmapp.c.

432{
433 return ImmIsUIMessageW(hWndIME,msg,wParam,lParam);
434}
BOOL WINAPI ImmIsUIMessageW(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: keymsg.c:619

◆ ActiveIMMApp_NotifyIME()

static HRESULT WINAPI ActiveIMMApp_NotifyIME ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwAction,
DWORD  dwIndex,
DWORD  dwValue 
)
static

Definition at line 436 of file activeimmapp.c.

438{
439 BOOL rc;
440
441 rc = ImmNotifyIME(hIMC,dwAction,dwIndex,dwValue);
442
443 if (rc)
444 return S_OK;
445 else
446 return E_FAIL;
447}
BOOL WINAPI ImmNotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD_PTR dwValue)
Definition: ime.c:907

◆ ActiveIMMApp_OnDefWindowProc()

static HRESULT WINAPI ActiveIMMApp_OnDefWindowProc ( IActiveIMMApp This,
HWND  hWnd,
UINT  Msg,
WPARAM  wParam,
LPARAM  lParam,
LRESULT plResult 
)
static

Definition at line 660 of file activeimmapp.c.

662{
663#ifndef __REACTOS__
664 FIXME("Stub (%p %x %lx %lx)\n",hWnd,Msg,wParam,lParam);
665#endif
666 return E_FAIL;
667}
struct @1641 Msg[]

◆ ActiveIMMApp_QueryInterface()

static HRESULT WINAPI ActiveIMMApp_QueryInterface ( IActiveIMMApp iface,
REFIID  iid,
LPVOID ppvOut 
)
static

Definition at line 56 of file activeimmapp.c.

58{
60 *ppvOut = NULL;
61
62 if (IsEqualIID(iid, &IID_IUnknown) || IsEqualIID(iid, &IID_IActiveIMMApp))
63 {
64 *ppvOut = &This->IActiveIMMApp_iface;
65 }
66 else if (IsEqualIID(iid, &IID_IActiveIMMMessagePumpOwner))
67 {
68 *ppvOut = &This->IActiveIMMMessagePumpOwner_iface;
69 }
70
71 if (*ppvOut)
72 {
73 IUnknown_AddRef(iface);
74 return S_OK;
75 }
76
77 WARN("unsupported interface: %s\n", debugstr_guid(iid));
78 return E_NOINTERFACE;
79}
#define WARN(fmt,...)
Definition: precomp.h:61
const GUID IID_IUnknown
#define debugstr_guid
Definition: kernel32.h:35
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ ActiveIMMApp_RegisterWordA()

static HRESULT WINAPI ActiveIMMApp_RegisterWordA ( IActiveIMMApp This,
HKL  hKL,
LPSTR  szReading,
DWORD  dwStyle,
LPSTR  szRegister 
)
static

Definition at line 449 of file activeimmapp.c.

451{
452 BOOL rc;
453
454 rc = ImmRegisterWordA(hKL,szReading,dwStyle,szRegister);
455
456 if (rc)
457 return S_OK;
458 else
459 return E_FAIL;
460}
BOOL WINAPI ImmRegisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
Definition: regword.c:327

◆ ActiveIMMApp_RegisterWordW()

static HRESULT WINAPI ActiveIMMApp_RegisterWordW ( IActiveIMMApp This,
HKL  hKL,
LPWSTR  szReading,
DWORD  dwStyle,
LPWSTR  szRegister 
)
static

Definition at line 462 of file activeimmapp.c.

464{
465 BOOL rc;
466
467 rc = ImmRegisterWordW(hKL,szReading,dwStyle,szRegister);
468
469 if (rc)
470 return S_OK;
471 else
472 return E_FAIL;
473}
BOOL WINAPI ImmRegisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
Definition: regword.c:375

◆ ActiveIMMApp_Release()

static ULONG WINAPI ActiveIMMApp_Release ( IActiveIMMApp iface)
static

Definition at line 87 of file activeimmapp.c.

88{
90 ULONG ret;
91
92 ret = InterlockedDecrement(&This->refCount);
93 if (ret == 0)
95 return ret;
96}
static void ActiveIMMApp_Destructor(ActiveIMMApp *This)
Definition: activeimmapp.c:50
#define InterlockedDecrement
Definition: armddk.h:52
uint32_t ULONG
Definition: typedefs.h:59
int ret

◆ ActiveIMMApp_ReleaseContext()

static HRESULT WINAPI ActiveIMMApp_ReleaseContext ( IActiveIMMApp This,
HWND  hWnd,
HIMC  hIMC 
)
static

Definition at line 475 of file activeimmapp.c.

477{
478 BOOL rc;
479
480 rc = ImmReleaseContext(hWnd,hIMC);
481
482 if (rc)
483 return S_OK;
484 else
485 return E_FAIL;
486}
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:1086

◆ ActiveIMMApp_SetCandidateWindow()

static HRESULT WINAPI ActiveIMMApp_SetCandidateWindow ( IActiveIMMApp This,
HIMC  hIMC,
CANDIDATEFORM pCandidate 
)
static

Definition at line 488 of file activeimmapp.c.

490{
491 BOOL rc;
492
493 rc = ImmSetCandidateWindow(hIMC,pCandidate);
494
495 if (rc)
496 return S_OK;
497 else
498 return E_FAIL;
499}
BOOL WINAPI ImmSetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate)
Definition: candidate.c:410

◆ ActiveIMMApp_SetCompositionFontA()

static HRESULT WINAPI ActiveIMMApp_SetCompositionFontA ( IActiveIMMApp This,
HIMC  hIMC,
LOGFONTA plf 
)
static

Definition at line 501 of file activeimmapp.c.

503{
504 BOOL rc;
505
506 rc = ImmSetCompositionFontA(hIMC,plf);
507
508 if (rc)
509 return S_OK;
510 else
511 return E_FAIL;
512}
BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: ime.c:1688

◆ ActiveIMMApp_SetCompositionFontW()

static HRESULT WINAPI ActiveIMMApp_SetCompositionFontW ( IActiveIMMApp This,
HIMC  hIMC,
LOGFONTW plf 
)
static

Definition at line 514 of file activeimmapp.c.

516{
517 BOOL rc;
518
519 rc = ImmSetCompositionFontW(hIMC,plf);
520
521 if (rc)
522 return S_OK;
523 else
524 return E_FAIL;
525}
BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: ime.c:1744

◆ ActiveIMMApp_SetCompositionStringA()

static HRESULT WINAPI ActiveIMMApp_SetCompositionStringA ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
LPVOID  pComp,
DWORD  dwCompLen,
LPVOID  pRead,
DWORD  dwReadLen 
)
static

Definition at line 527 of file activeimmapp.c.

530{
531 BOOL rc;
532
533 rc = ImmSetCompositionStringA(hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen);
534
535 if (rc)
536 return S_OK;
537 else
538 return E_FAIL;
539}
BOOL WINAPI ImmSetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpComp, DWORD dwCompLen, LPVOID lpRead, DWORD dwReadLen)
Definition: compstr.c:943

◆ ActiveIMMApp_SetCompositionStringW()

static HRESULT WINAPI ActiveIMMApp_SetCompositionStringW ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  dwIndex,
LPVOID  pComp,
DWORD  dwCompLen,
LPVOID  pRead,
DWORD  dwReadLen 
)
static

Definition at line 541 of file activeimmapp.c.

544{
545 BOOL rc;
546
547 rc = ImmSetCompositionStringW(hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen);
548
549 if (rc)
550 return S_OK;
551 else
552 return E_FAIL;
553}
BOOL WINAPI ImmSetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpComp, DWORD dwCompLen, LPVOID lpRead, DWORD dwReadLen)
Definition: compstr.c:955

◆ ActiveIMMApp_SetCompositionWindow()

static HRESULT WINAPI ActiveIMMApp_SetCompositionWindow ( IActiveIMMApp This,
HIMC  hIMC,
COMPOSITIONFORM pCompForm 
)
static

Definition at line 555 of file activeimmapp.c.

557{
558 BOOL rc;
559
560 rc = ImmSetCompositionWindow(hIMC,pCompForm);
561
562 if (rc)
563 return S_OK;
564 else
565 return E_FAIL;
566}
BOOL WINAPI ImmSetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
Definition: ime.c:1583

◆ ActiveIMMApp_SetConversionStatus()

static HRESULT WINAPI ActiveIMMApp_SetConversionStatus ( IActiveIMMApp This,
HIMC  hIMC,
DWORD  fdwConversion,
DWORD  fdwSentence 
)
static

Definition at line 568 of file activeimmapp.c.

570{
571 BOOL rc;
572
573 rc = ImmSetConversionStatus(hIMC,fdwConversion,fdwSentence);
574
575 if (rc)
576 return S_OK;
577 else
578 return E_FAIL;
579}
BOOL WINAPI ImmSetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
Definition: ime.c:1941

◆ ActiveIMMApp_SetOpenStatus()

static HRESULT WINAPI ActiveIMMApp_SetOpenStatus ( IActiveIMMApp This,
HIMC  hIMC,
BOOL  fOpen 
)
static

Definition at line 581 of file activeimmapp.c.

583{
584 BOOL rc;
585
586 rc = ImmSetOpenStatus(hIMC,fOpen);
587
588 if (rc)
589 return S_OK;
590 else
591 return E_FAIL;
592}
BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
Definition: ime.c:1466

◆ ActiveIMMApp_SetStatusWindowPos()

static HRESULT WINAPI ActiveIMMApp_SetStatusWindowPos ( IActiveIMMApp This,
HIMC  hIMC,
POINT pptPos 
)
static

Definition at line 594 of file activeimmapp.c.

596{
597 BOOL rc;
598
599 rc = ImmSetStatusWindowPos(hIMC,pptPos);
600
601 if (rc)
602 return S_OK;
603 else
604 return E_FAIL;
605}
BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
Definition: ime.c:1531

◆ ActiveIMMApp_SimulateHotKey()

static HRESULT WINAPI ActiveIMMApp_SimulateHotKey ( IActiveIMMApp This,
HWND  hwnd,
DWORD  dwHotKeyID 
)
static

Definition at line 607 of file activeimmapp.c.

609{
610 BOOL rc;
611
612 rc = ImmSimulateHotKey(hwnd,dwHotKeyID);
613
614 if (rc)
615 return S_OK;
616 else
617 return E_FAIL;
618}
BOOL WINAPI ImmSimulateHotKey(HWND hWnd, DWORD dwHotKeyID)
Definition: keymsg.c:651

◆ ActiveIMMApp_UnregisterWordA()

static HRESULT WINAPI ActiveIMMApp_UnregisterWordA ( IActiveIMMApp This,
HKL  hKL,
LPSTR  szReading,
DWORD  dwStyle,
LPSTR  szUnregister 
)
static

Definition at line 620 of file activeimmapp.c.

622{
623 BOOL rc;
624
625 rc = ImmUnregisterWordA(hKL,szReading,dwStyle,szUnregister);
626
627 if (rc)
628 return S_OK;
629 else
630 return E_FAIL;
631
632}
BOOL WINAPI ImmUnregisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
Definition: regword.c:423

◆ ActiveIMMApp_UnregisterWordW()

static HRESULT WINAPI ActiveIMMApp_UnregisterWordW ( IActiveIMMApp This,
HKL  hKL,
LPWSTR  szReading,
DWORD  dwStyle,
LPWSTR  szUnregister 
)
static

Definition at line 634 of file activeimmapp.c.

636{
637 BOOL rc;
638
639 rc = ImmUnregisterWordW(hKL,szReading,dwStyle,szUnregister);
640
641 if (rc)
642 return S_OK;
643 else
644 return E_FAIL;
645}
BOOL WINAPI ImmUnregisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
Definition: regword.c:471

◆ ActiveIMMMessagePumpOwner_AddRef()

static ULONG WINAPI ActiveIMMMessagePumpOwner_AddRef ( IActiveIMMMessagePumpOwner iface)
static

Definition at line 830 of file activeimmapp.c.

831{
833 return IActiveIMMApp_AddRef(&This->IActiveIMMApp_iface);
834}
static ActiveIMMApp * impl_from_IActiveIMMMessagePumpOwner(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:818

◆ ActiveIMMMessagePumpOwner_End()

static HRESULT WINAPI ActiveIMMMessagePumpOwner_End ( IActiveIMMMessagePumpOwner iface)
static

Definition at line 849 of file activeimmapp.c.

850{
852 FIXME("(%p)->(): stub\n", This);
853 return E_NOTIMPL;
854}

◆ ActiveIMMMessagePumpOwner_OnTranslateMessage()

static HRESULT WINAPI ActiveIMMMessagePumpOwner_OnTranslateMessage ( IActiveIMMMessagePumpOwner iface,
const MSG msg 
)
static

Definition at line 856 of file activeimmapp.c.

858{
860 FIXME("(%p)->(%p): stub\n", This, msg);
861 return E_NOTIMPL;
862}

◆ ActiveIMMMessagePumpOwner_Pause()

static HRESULT WINAPI ActiveIMMMessagePumpOwner_Pause ( IActiveIMMMessagePumpOwner iface,
DWORD cookie 
)
static

Definition at line 864 of file activeimmapp.c.

866{
868 FIXME("(%p)->(%p): stub\n", This, cookie);
869 return E_NOTIMPL;
870}
Definition: cookie.c:34

◆ ActiveIMMMessagePumpOwner_QueryInterface()

static HRESULT WINAPI ActiveIMMMessagePumpOwner_QueryInterface ( IActiveIMMMessagePumpOwner iface,
REFIID  iid,
LPVOID ppvOut 
)
static

Definition at line 823 of file activeimmapp.c.

825{
827 return IActiveIMMApp_QueryInterface(&This->IActiveIMMApp_iface, iid, ppvOut);
828}

◆ ActiveIMMMessagePumpOwner_Release()

static ULONG WINAPI ActiveIMMMessagePumpOwner_Release ( IActiveIMMMessagePumpOwner iface)
static

Definition at line 836 of file activeimmapp.c.

837{
839 return IActiveIMMApp_Release(&This->IActiveIMMApp_iface);
840}

◆ ActiveIMMMessagePumpOwner_Resume()

static HRESULT WINAPI ActiveIMMMessagePumpOwner_Resume ( IActiveIMMMessagePumpOwner iface,
DWORD  cookie 
)
static

Definition at line 872 of file activeimmapp.c.

874{
876 FIXME("(%p)->(%u): stub\n", This, cookie);
877 return E_NOTIMPL;
878}

◆ ActiveIMMMessagePumpOwner_Start()

static HRESULT WINAPI ActiveIMMMessagePumpOwner_Start ( IActiveIMMMessagePumpOwner iface)
static

Definition at line 842 of file activeimmapp.c.

843{
845 FIXME("(%p)->(): stub\n", This);
846 return E_NOTIMPL;
847}

◆ impl_from_IActiveIMMApp()

static ActiveIMMApp * impl_from_IActiveIMMApp ( IActiveIMMApp iface)
inlinestatic

Definition at line 45 of file activeimmapp.c.

46{
47 return CONTAINING_RECORD(iface, ActiveIMMApp, IActiveIMMApp_iface);
48}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by ActiveIMMApp_AddRef(), ActiveIMMApp_QueryInterface(), and ActiveIMMApp_Release().

◆ impl_from_IActiveIMMMessagePumpOwner()

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msimtf  )

Variable Documentation

◆ ActiveIMMAppVtbl

const IActiveIMMAppVtbl ActiveIMMAppVtbl
static

Definition at line 741 of file activeimmapp.c.

Referenced by ActiveIMMApp_Constructor().

◆ ActiveIMMMessagePumpOwnerVtbl

const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl
static
Initial value:
=
{
}
static HRESULT WINAPI ActiveIMMMessagePumpOwner_QueryInterface(IActiveIMMMessagePumpOwner *iface, REFIID iid, LPVOID *ppvOut)
Definition: activeimmapp.c:823
static HRESULT WINAPI ActiveIMMMessagePumpOwner_End(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:849
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Resume(IActiveIMMMessagePumpOwner *iface, DWORD cookie)
Definition: activeimmapp.c:872
static ULONG WINAPI ActiveIMMMessagePumpOwner_AddRef(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:830
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Start(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:842
static ULONG WINAPI ActiveIMMMessagePumpOwner_Release(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:836
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Pause(IActiveIMMMessagePumpOwner *iface, DWORD *cookie)
Definition: activeimmapp.c:864
static HRESULT WINAPI ActiveIMMMessagePumpOwner_OnTranslateMessage(IActiveIMMMessagePumpOwner *iface, const MSG *msg)
Definition: activeimmapp.c:856

Definition at line 880 of file activeimmapp.c.

Referenced by ActiveIMMApp_Constructor().