windows-nt/Source/XPSP1/NT/inetsrv/intlwb/cht/ctplus0.h
2020-09-26 16:20:57 +08:00

44 lines
1.2 KiB
C

//+--------------------------------------------------------------------------
//
// Copyright (C) 1995, Microsoft Corporation. All Rights Reserved.
//
// File: ctplus.h
//
// Contents: Local definitions for ctplus.c
//
// History: 23-May-96 pathal Created.
//
//---------------------------------------------------------------------------
#ifndef _CTPLUS_0_H_
#define _CTPLUS_0_H_
#define HC 0x01 // Hiragana char
#define IC 0x02 // Ideograph char
#define KC 0x03 // Katakana char
#define WS 0x04 // Word seperator
#define VC 0x05 // Hankaku (variant) char
#define PS 0x06 // Phrase seperator
#define CH 0x07 // Code page 0 - ASCII Char.
BYTE
GetCharType(WCHAR wc );
// Declare character types transitions
// Intuitively frequency ordered
//
typedef enum _CT {
CT_START = 0x00,
CT_HIRAGANA = 0x01,
CT_KANJI = 0x02,
CT_KATAKANA = 0x03,
CT_WORD_SEP = 0x04,
CT_HANKAKU =0x05,
CT_PHRASE_SEP = 0x06,
CT_ROMAJI = 0x07,
} CT;
#define CT_MAX 0x08
#endif // _CTPLUS_0_H_