⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ezitext.h

📁 印尼字库和输入法
💻 H
📖 第 1 页 / 共 4 页
字号:

    typedef struct _ZI8LISTPARAM
    {
        PZI8UCHAR pPhoneBook;
        ZI8UCHAR  OffsetAlphaField;
        ZI8UCHAR  AlphaFieldSize;
        ZI8UCHAR  EntrySize;
        ZI8UCHAR  Entries;
        PZI8UCHAR pScratch;
    } ZI8LISTPARAM;
    typedef struct _ZI8LISTPARAM ZI8RAMPOINTER PZI8LISTPARAM;

    typedef PZI8UCHAR (*PFZI8PHONEBOOK)(ZI8USHORT ElementIndex);

    typedef struct _ZI8LISTFUNCPARAM
    {
        PFZI8PHONEBOOK pPhoneBook;
        ZI8UCHAR       OffsetAlphaField;
        ZI8UCHAR       AlphaFieldSize;
        ZI8UCHAR       EntrySize;
        ZI8UCHAR       Entries;
        PZI8UCHAR      pScratch;
    } ZI8LISTFUNCPARAM;
    typedef struct _ZI8LISTFUNCPARAM ZI8RAMPOINTER PZI8LISTFUNCPARAM;

    typedef struct _ZI8RBPARAMS
    {
        ZI8UCHAR    Language;
        ZI8UCHAR    rbCommand;
        PZI8WCHAR   pElements;
        ZI8UCHAR    ElementCount;
        ZI8UCHAR    Context;
        PZI8WCHAR   pCompositeSentence;
        ZI8UCHAR    SentenceSize;
        ZI8UCHAR    NumOfPhrase;
        ZI8UCHAR    PhraseIndex;
        PZI8WCHAR   pAltCandidates;
        ZI8UCHAR    AltCandidatesSize;
        ZI8UCHAR    MaxCandidateCount;
        ZI8USHORT   TotalCandidateCount;
        ZI8UCHAR    CandidateIndex;
        ZI8UCHAR    CandidateArrangement;
        ZI8UCHAR    InternalUseBuffer[ZI8_INTERNAL_DATA_SIZE1];
    } ZI8RBPARAMS;
    typedef struct _ZI8RBPARAMS ZI8RAMPOINTER PZI8RBPARAMS;

    typedef struct _ZI8_FUZZY_PY_PAIRS
    {
        int ziDefault : 1;
        int cANDch    : 1;
        int sANDsh    : 1;
        int zANDzh    : 1;
        int anANDang  : 1;
        int enANDeng  : 1;
        int inANDing  : 1;
        int nANDl     : 1;
        int lANDr     : 1;
        int fANDh     : 1;
    } ZI8_FUZZY_PY_PAIRS;

    typedef struct _ZI8_FUZZY_ZY_PAIRS
    {
        int ziDefault : 1;
        int cANDch    : 1;
        int sANDsh    : 1;
        int zANDzh    : 1;
        int anANDang  : 1;
        int enANDeng  : 1;
        int nANDl     : 1;
        int lANDr     : 1;
        int fANDh     : 1;
        int rANDn     : 1;
        int bANDp     : 1;
        int gANDk     : 1;
    } ZI8_FUZZY_ZY_PAIRS;


/* ******************************* */
/* prototypes of the API functions */
/* ******************************* */

    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8Initialize
                                              ( void ZI8_GBL_PARM1 );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8InitializeDynamic
                                              ( PZI8VOID p
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8GetVersion
                                              ( void ZI8_GBL_PARM1 );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8GetBuildID
                                              ( void ZI8_GBL_PARM1 );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8GetOEMID
                                              ( void ZI8_GBL_PARM1 );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8SetCompareMode
                                              ( ZI8UCHAR compareMode,
                                                ZI8UCHAR language
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C int      Zi8Compare
                                              ( const PZI8VOID string1,
                                                const PZI8VOID string2 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8IsComponent
                                              ( ZI8WCHAR wc 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8IsCharacter
                                              ( ZI8WCHAR wc 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8IsElement
                                              ( ZI8WCHAR wc 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8SetMaxNamesInUse
                                              ( ZI8USHORT usMaxSize 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetCandidates
                                              ( PZI8GETPARAM pGetParam 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8LONG  Zi8GetCandidatesCount
                                              ( PZI8GETPARAM pGetParam 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8IsMatch
                                              ( PZI8GETPARAM pGetParam,
                                                ZI8WCHAR c 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8IsMatch2
                                              ( PZI8GETPARAM pGetParam,
                                                PZI8WCHAR pWord 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetListCandidates
                                              ( PZI8GETPARAM pGetParam,
                                                PZI8LISTPARAM pListParam 
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetListCandidatesFunc
                                              ( PZI8GETPARAM pGetParam,
                                                PZI8LISTFUNCPARAM pListParam
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8IsWordW
                                              ( PZI8WCHAR pWord,
                                                ZI8UCHAR language
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C void     Zi8GetAlphaWord
                                              ( ZI8UCHAR language,
                                                ZI8WCHAR wcCandidate,
                                                PZI8UCHAR szString,
                                                ZI8UCHAR size
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C void     Zi8GetAlphaWordW
                                              ( ZI8UCHAR language,
                                                ZI8WCHAR wcCandidate,
                                                PZI8WCHAR pwString,
                                                ZI8UCHAR size
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetChecksum
                                              ( ZI8UCHAR language,
                                                ZI8UCHAR TableType
                                                ZI8_GBL_PARM );
    /* optional routines for Chinese character conversions */
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8UnicodeToGB
                                              ( ZI8WCHAR wc
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8UnicodeToBig5
                                              ( ZI8WCHAR wc
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8GBToUnicode
                                              ( ZI8WCHAR wc
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8Big5ToUnicode
                                              ( ZI8WCHAR wc
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8ComplexToSimp
                                              ( PZI8WCHAR pCharacter,
                                                ZI8USHORT count
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8SimpToComplex
                                              ( PZI8WCHAR pCharacter,
                                                ZI8USHORT count
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL  Zi8SetZHsubLangTo
                                              ( ZI8UCHAR SubLanguage
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetCharInfo
                                              ( ZI8WCHAR wc,
                                                PZI8WCHAR pCharInfoBuffer,
                                                ZI8UCHAR MaxInfoBuffer,
                                                ZI8UCHAR GetMode
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetCharInfo2
                                              ( ZI8WCHAR wc,
                                                PZI8WCHAR pCharInfoBuffer,
                                                ZI8UCHAR MaxInfoBuffer,
                                                ZI8UCHAR GetMode,
                                                PZI8WCHAR pElements,
                                                ZI8UCHAR uElementCount
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetCharInfo3
                                              ( ZI8WCHAR wc,
                                                PZI8WCHAR pCharInfoBuffer,
                                                ZI8UCHAR MaxInfoBuffer,
                                                ZI8UCHAR GetMode,
                                                PZI8WCHAR pElements,
                                                ZI8UCHAR uElementCount
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8WCHAR Zi8GetCompID
                                              ( ZI8WCHAR wc
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8GetCompInfo
                                              ( ZI8WCHAR compID,
                                                PZI8WCHAR pInfo
                                                ZI8_GBL_PARM );

    ZI8FUNCTION ZI8_IMPORT_C ZI8VOID Zi8SetCandidateCase
                                              ( ZI8UCHAR bUpper
                                                ZI8_GBL_PARM );

    ZI8FUNCTION ZI8_IMPORT_C ZI8BOOL Zi8ChangeCharCase
                                              ( ZI8BOOL   bUpper, 
                                                PZI8WCHAR pChar, 
                                                ZI8UCHAR language
                                                ZI8_GBL_PARM );

    /* These helper functions have been added to extract strings from
       the candidates buffer when the candidate words are inline and separated
       by zero value.
    */
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8Copy(  PZI8UCHAR pDestination,
                                                PZI8GETPARAM pGetParams,
                                                ZI8UCHAR index
                                                ZI8_GBL_PARM );
    ZI8FUNCTION ZI8_IMPORT_C ZI8UCHAR Zi8CopyW( PZI8WCHAR pDestination,
                                                PZI8GETPARAM pGetParams,
                                                ZI8UCHAR index
                                                ZI8_GBL_PARM );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -