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

/////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 1997, Microsoft Corporation. All Rights Reserved.
//
// ReadHeosaDict.h :
//
// Owner : ChaeSeong Lim, HET MSCH RND (e-mail:[email protected])
//
// History : 1996/Mar
/////////////////////////////////////////////////////////////////////////////
#ifndef __READHEOSADICT_H__
#define __READHEOSADICT_H__
#include "FSADict.h"
#include "HeosaDictHeader.h"
#include "UniToInt.h"
#define FINAL 1 // 00000001
#define FINAL_MORE 3 // 00000011
#define NOT_FOUND 4 // 00000100
#define FALSE_MORE 12 // 00001100
/////////////////////////////////////////////////////////////////////////////
// Declaration of PumSa
enum _heoSaPumsa { _ENDING, _TOSSI, _AUXVERB, _AUXADJ };
/////////////////////////////////////////////////////////////////////////////
// Global Access functions
BOOL OpenHeosaDict(HANDLE hDict, DWORD offset=0);
void CloseHeosaDict();
int FindHeosaWord(LPCSTR lpWord, BYTE heosaPumsa, BYTE *actCode);
int FindIrrWord(LPCSTR lpWord, int irrCode);
#endif // !__READHEOSADICT_H__