Source code of Windows XP (NT5)
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.

73 lines
938 B

  1. #include "windowspch.h"
  2. #pragma hdrstop
  3. static
  4. LONG
  5. WINAPI
  6. ImmGetCompositionStringW(
  7. IN HIMC hIMC,
  8. IN DWORD dwIndex,
  9. OUT LPVOID lpBuf,
  10. IN DWORD dwBufLen
  11. )
  12. {
  13. return IMM_ERROR_GENERAL;
  14. }
  15. static
  16. HIMC
  17. WINAPI
  18. ImmGetContext(
  19. IN HWND hWnd
  20. )
  21. {
  22. return NULL;
  23. }
  24. static
  25. BOOL
  26. WINAPI
  27. ImmReleaseContext(
  28. IN HWND hWnd,
  29. IN HIMC hIMC
  30. )
  31. {
  32. return FALSE;
  33. }
  34. static
  35. UINT
  36. WINAPI
  37. ImmGetVirtualKey(
  38. IN HWND hWnd
  39. )
  40. {
  41. return VK_PROCESSKEY;
  42. }
  43. static
  44. HWND
  45. WINAPI
  46. ImmGetDefaultIMEWnd(
  47. IN HWND hWnd
  48. )
  49. {
  50. return NULL;
  51. }
  52. //
  53. // !! WARNING !! The entries below must be in alphabetical order,
  54. // and are CASE SENSITIVE (eg lower case comes last!)
  55. //
  56. DEFINE_PROCNAME_ENTRIES(imm32)
  57. {
  58. DLPENTRY(ImmGetCompositionStringW)
  59. DLPENTRY(ImmGetContext)
  60. DLPENTRY(ImmGetDefaultIMEWnd)
  61. DLPENTRY(ImmGetVirtualKey)
  62. DLPENTRY(ImmReleaseContext)
  63. };
  64. DEFINE_PROCNAME_MAP(imm32)