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)));
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)); }
public HRESULT SetActiveContext(HIMC hIMC, BOOL fFlag) { return(((delegate * unmanaged <IActiveIME2 *, HIMC, BOOL, int>)(lpVtbl[8]))((IActiveIME2 *)Unsafe.AsPointer(ref this), hIMC, fFlag)); }
public static extern BOOL ImmGenerateMessage(HIMC param0);
public static extern LRESULT ImmRequestMessageW(HIMC param0, WPARAM param1, LPARAM param2);
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);
public static extern uint ImmGetCandidateListCountA(HIMC param0, [NativeTypeName("LPDWORD")] uint *lpdwListCount);
public static extern int ImmGetCompositionStringW(HIMC param0, [NativeTypeName("DWORD")] uint param1, [NativeTypeName("LPVOID")] void *lpBuf, [NativeTypeName("DWORD")] uint dwBufLen);
public static extern BOOL ImmAssociateContextEx(HWND param0, HIMC param1, [NativeTypeName("DWORD")] uint param2);
public static extern HIMC ImmAssociateContext(HWND param0, HIMC param1);
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)); }
public static extern INPUTCONTEXT *ImmLockIMC(HIMC param0);
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)); }
public static extern BOOL ImmUnlockIMC(HIMC param0);
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)); }
public static extern uint ImmGetIMCLockCount(HIMC param0);
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)); }
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));
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);
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); }
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);
public static extern BOOL ImmDestroyContext(HIMC param0);