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.

45 lines
1.4 KiB

  1. /*************************************************
  2. * dic.c *
  3. * *
  4. * Copyright (C) 1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. #include <windows.h>
  8. #include <winerror.h>
  9. #include <immdev.h>
  10. #include "imeattr.h"
  11. #include "imedefs.h"
  12. #include "imerc.h"
  13. /**********************************************************************/
  14. /* LoadTable() */
  15. /* Return Value: */
  16. /* TRUE - successful, FALSE - failure */
  17. /**********************************************************************/
  18. BOOL PASCAL LoadTable( // check the table files of IME, include user
  19. // defined dictionary
  20. LPINSTDATAL lpInstL,
  21. LPIMEL lpImeL)
  22. {
  23. if (lpInstL->fdwTblLoad == TBL_LOADED) {
  24. return (TRUE);
  25. }
  26. lpInstL->fdwTblLoad = TBL_LOADED;
  27. return (TRUE);
  28. }
  29. /**********************************************************************/
  30. /* FreeTable() */
  31. /**********************************************************************/
  32. void PASCAL FreeTable(
  33. LPINSTDATAL lpInstL)
  34. {
  35. lpInstL->fdwTblLoad = TBL_NOTLOADED;
  36. return;
  37. }