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.

35 lines
1.1 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (C) 1997, Microsoft Corporation. All Rights Reserved.
  4. //
  5. // ReadHeosaDict.h :
  6. //
  7. // Owner : ChaeSeong Lim, HET MSCH RND (e-mail:[email protected])
  8. //
  9. // History : 1996/Mar
  10. /////////////////////////////////////////////////////////////////////////////
  11. #ifndef __READHEOSADICT_H__
  12. #define __READHEOSADICT_H__
  13. #include "FSADict.h"
  14. #include "HeosaDictHeader.h"
  15. #include "UniToInt.h"
  16. #define FINAL 1 // 00000001
  17. #define FINAL_MORE 3 // 00000011
  18. #define NOT_FOUND 4 // 00000100
  19. #define FALSE_MORE 12 // 00001100
  20. /////////////////////////////////////////////////////////////////////////////
  21. // Declaration of PumSa
  22. enum _heoSaPumsa { _ENDING, _TOSSI, _AUXVERB, _AUXADJ };
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Global Access functions
  25. BOOL OpenHeosaDict(HANDLE hDict, DWORD offset=0);
  26. void CloseHeosaDict();
  27. int FindHeosaWord(LPCSTR lpWord, BYTE heosaPumsa, BYTE *actCode);
  28. int FindIrrWord(LPCSTR lpWord, int irrCode);
  29. #endif // !__READHEOSADICT_H__