Exemplo n.º 1
0
 public static extern BOOL ImmReleaseContext(HWND param0, HIMC param1);
 public static void ImmSetOpenStatus(this HIMC hIMC, bool status) => Imm32.ImmSetOpenStatus(hIMC, status ? -1 : 0);
 public static bool ImmDestroyContext(this HIMC hIMC)
 => Imm32.ImmDestroyContext(hIMC);
 public static bool ImmReleaseContext(this HWND hWnd, HIMC hIMC)
 => Imm32.ImmReleaseContext(hWnd, hIMC);
 public static CandidateCollection ImmGetCandidateList(this HIMC hIMC)
 => new CandidateCollection(BufferReader.ReadBytes((buf, size) => Imm32.ImmGetCandidateListW(hIMC, 0, buf, size)));
Exemplo n.º 6
0
 public HRESULT ConversionList(HIMC hIMC, [NativeTypeName("LPWSTR")] ushort *szSource, uint uFlag, uint uBufLen, CANDIDATELIST *pDest, uint *puCopied)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, ushort *, uint, uint, CANDIDATELIST *, uint *, int>)(lpVtbl[4]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, szSource, uFlag, uBufLen, pDest, puCopied));
 }
Exemplo n.º 7
0
 public HRESULT SetActiveContext(HIMC hIMC, BOOL fFlag)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, BOOL, int>)(lpVtbl[8]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, fFlag));
 }
Exemplo n.º 8
0
 public static extern BOOL ImmGenerateMessage(HIMC param0);
Exemplo n.º 9
0
 public static extern LRESULT ImmRequestMessageW(HIMC param0, WPARAM param1, LPARAM param2);
Exemplo n.º 10
0
 public static extern BOOL ImmSetCompositionStringW(HIMC param0, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("LPVOID")] void *lpComp, [NativeTypeName("DWORD")] uint dwCompLen, [NativeTypeName("LPVOID")] void *lpRead, [NativeTypeName("DWORD")] uint dwReadLen);
Exemplo n.º 11
0
 public static extern uint ImmGetCandidateListCountA(HIMC param0, [NativeTypeName("LPDWORD")] uint *lpdwListCount);
Exemplo n.º 12
0
 public static extern int ImmGetCompositionStringW(HIMC param0, [NativeTypeName("DWORD")] uint param1, [NativeTypeName("LPVOID")] void *lpBuf, [NativeTypeName("DWORD")] uint dwBufLen);
Exemplo n.º 13
0
 public static extern BOOL ImmAssociateContextEx(HWND param0, HIMC param1, [NativeTypeName("DWORD")] uint param2);
Exemplo n.º 14
0
 public static extern HIMC ImmAssociateContext(HWND param0, HIMC param1);
Exemplo n.º 15
0
 public HRESULT SetCompositionString(HIMC hIMC, [NativeTypeName("DWORD")] uint dwIndex, void *pComp, [NativeTypeName("DWORD")] uint dwCompLen, void *pRead, [NativeTypeName("DWORD")] uint dwReadLen)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, uint, void *, uint, void *, uint, int>)(lpVtbl[12]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, dwIndex, pComp, dwCompLen, pRead, dwReadLen));
 }
Exemplo n.º 16
0
 public static extern INPUTCONTEXT *ImmLockIMC(HIMC param0);
Exemplo n.º 17
0
 public HRESULT ToAsciiEx(uint uVirKey, uint uScanCode, byte *pbKeyState, uint fuState, HIMC hIMC, [NativeTypeName("DWORD *")] uint *pdwTransBuf, uint *puSize)
 {
     return(((delegate * unmanaged <IActiveIME2 *, uint, uint, byte *, uint, HIMC, uint *, uint *, int>)(lpVtbl[13]))((IActiveIME2 *)Unsafe.AsPointer(ref this), uVirKey, uScanCode, pbKeyState, fuState, hIMC, pdwTransBuf, puSize));
 }
Exemplo n.º 18
0
 public static extern BOOL ImmUnlockIMC(HIMC param0);
Exemplo n.º 19
0
 public HRESULT Escape(HIMC hIMC, uint uEscape, void *pData, LRESULT *plResult)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, uint, void *, LRESULT *, int>)(lpVtbl[7]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, uEscape, pData, plResult));
 }
Exemplo n.º 20
0
 public static extern uint ImmGetIMCLockCount(HIMC param0);
Exemplo n.º 21
0
 public HRESULT ProcessKey(HIMC hIMC, uint uVirKey, [NativeTypeName("DWORD")] uint lParam, byte *pbKeyState)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, uint, uint, byte *, int>)(lpVtbl[9]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, uVirKey, lParam, pbKeyState));
 }
Exemplo n.º 22
0
 public static extern bool ImmSetStatusWindowPos(HIMC hIMC, in POINT lpptPos);
 public static string ImmGetCompositionString(this HIMC hIMC, GCS dwIndex)
 => BufferReader.ReadString((buf, size) => Imm32.ImmGetCompositionStringW(hIMC, dwIndex, buf, size));
Exemplo n.º 24
0
 public static extern IntPtr ImmEscape([In] HKL hKL, [In] HIMC hIMC, IME_ESC uEscape, [In] IntPtr lpData = default);
 public static bool ImmGetOpenStatus(this HIMC hIMC) => Imm32.ImmGetOpenStatus(hIMC);
Exemplo n.º 26
0
 public HRESULT Notify(HIMC hIMC, [NativeTypeName("DWORD")] uint dwAction, [NativeTypeName("DWORD")] uint dwIndex, [NativeTypeName("DWORD")] uint dwValue)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, uint, uint, uint, int>)(lpVtbl[10]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, dwAction, dwIndex, dwValue));
 }
 public static (IME_CMODE, IME_SMODE) ImmGetConversionStatus(this HIMC hIMC)
 {
     Imm32.ImmGetConversionStatus(hIMC, out var cmode, out var smode);
     return(cmode, smode);
 }
Exemplo n.º 28
0
 public HRESULT Select(HIMC hIMC, BOOL fSelect)
 {
     return(((delegate * unmanaged <IActiveIME2 *, HIMC, BOOL, int>)(lpVtbl[11]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, fSelect));
 }
 public static bool ImmAssociateContextEx(this HWND hWnd, HIMC hIMC, IACE dwFlags)
 => Imm32.ImmAssociateContextEx(hWnd, hIMC, dwFlags);
Exemplo n.º 30
0
 public static extern BOOL ImmDestroyContext(HIMC param0);