Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
4.1 KiB

  1. /*************************************************
  2. * uniime.h *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. LRESULT WINAPI UniUIWndProc(LPINSTDATAL, LPIMEL, HWND, UINT,
  8. WPARAM, LPARAM); // ui.c
  9. LRESULT WINAPI UniCompWndProc(LPINSTDATAL, LPIMEL, HWND, UINT,
  10. WPARAM, LPARAM); // compui.c
  11. LRESULT WINAPI UniCandWndProc(LPINSTDATAL, LPIMEL, HWND, UINT,
  12. WPARAM, LPARAM); // candui.c
  13. LRESULT WINAPI UniStatusWndProc(LPINSTDATAL, LPIMEL, HWND,
  14. UINT, WPARAM, LPARAM); // statusui.c
  15. LRESULT WINAPI UniOffCaretWndProc(LPINSTDATAL, LPIMEL, HWND,
  16. UINT, WPARAM, LPARAM); // offcaret.c
  17. LRESULT WINAPI UniContextMenuWndProc(LPINSTDATAL, LPIMEL, HWND,
  18. UINT, WPARAM, LPARAM); // uisubs.c
  19. BOOL WINAPI UniImeInquire(LPINSTDATAL, LPIMEL, LPIMEINFO,
  20. LPTSTR, DWORD); // ddis.c
  21. BOOL WINAPI UniImeConfigure(LPINSTDATAL, LPIMEL, HKL, HWND,
  22. DWORD, LPVOID); // ddis.c
  23. DWORD WINAPI UniImeConversionList(LPINSTDATAL, LPIMEL, HIMC,
  24. LPCTSTR, LPCANDIDATELIST, DWORD, UINT); // ddis.c
  25. BOOL WINAPI UniImeDestroy(LPINSTDATAL, LPIMEL, UINT); // ddis.c
  26. LRESULT WINAPI UniImeEscape(LPINSTDATAL, LPIMEL, HIMC, UINT,
  27. LPVOID); // ddis.c
  28. BOOL WINAPI UniImeProcessKey(LPINSTDATAL, LPIMEL, HIMC,
  29. UINT, LPARAM, CONST LPBYTE); // toascii.c
  30. BOOL WINAPI UniImeSelect(LPINSTDATAL, LPIMEL, HIMC, BOOL); // ddis.c
  31. BOOL WINAPI UniImeSetActiveContext(LPINSTDATAL, LPIMEL,
  32. HIMC, BOOL); // ddis.c
  33. UINT WINAPI UniImeToAsciiEx(LPINSTDATAL, LPIMEL, UINT, UINT,
  34. CONST LPBYTE, LPTRANSMSGLIST, UINT, HIMC); // toascii.c
  35. BOOL WINAPI UniNotifyIME(LPINSTDATAL, LPIMEL, HIMC, DWORD,
  36. DWORD, DWORD); // notify.c
  37. BOOL WINAPI UniImeRegisterWord(LPINSTDATAL, LPIMEL, LPCTSTR,
  38. DWORD, LPCTSTR); // regword.c
  39. BOOL WINAPI UniImeUnregisterWord(LPINSTDATAL, LPIMEL,
  40. LPCTSTR, DWORD, LPCTSTR); // regword.c
  41. UINT WINAPI UniImeGetRegisterWordStyle(LPINSTDATAL, LPIMEL,
  42. UINT, LPSTYLEBUF); // regword.c
  43. UINT WINAPI UniImeEnumRegisterWord(LPINSTDATAL, LPIMEL,
  44. REGISTERWORDENUMPROC, LPCTSTR, DWORD, LPCTSTR,
  45. LPVOID); // regword.c
  46. BOOL WINAPI UniImeSetCompositionString(LPINSTDATAL, LPIMEL,
  47. HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD); // notify.c
  48. #if !defined(MINIIME)
  49. DWORD WINAPI UniSearchPhrasePredictionW(LPIMEL, UINT, LPCWSTR, DWORD,
  50. LPCWSTR, DWORD, DWORD, DWORD, DWORD,
  51. LPCANDIDATELIST); // uniphrs.c
  52. DWORD WINAPI UniSearchPhrasePredictionA(LPIMEL, UINT, LPCSTR, DWORD,
  53. LPCSTR, DWORD, DWORD, DWORD, DWORD,
  54. LPCANDIDATELIST); // uniphrs.c
  55. #ifdef UNICODE
  56. typedef LPCSTR LPCSTUBSTR;
  57. #define UniSearchPhrasePrediction UniSearchPhrasePredictionW
  58. #define UniSearchPhrasePredictionStub UniSearchPhrasePredictionA
  59. #else
  60. typedef LPCWSTR LPCSTUBSTR;
  61. #define UniSearchPhrasePrediction UniSearchPhrasePredictionA
  62. #define UniSearchPhrasePredictionStub UniSearchPhrasePredictionW
  63. #endif
  64. #endif
  65. void WINAPI UniAttachMiniIME(LPINSTDATAL, LPIMEL, WNDPROC,
  66. WNDPROC, WNDPROC, WNDPROC, WNDPROC, WNDPROC); // init.c
  67. void WINAPI UniDetachMiniIME(LPINSTDATAL, LPIMEL); // init.c