在线看毛片网站电影-亚洲国产欧美日韩精品一区二区三区,国产欧美乱夫不卡无乱码,国产精品欧美久久久天天影视,精品一区二区三区视频在线观看,亚洲国产精品人成乱码天天看,日韩久久久一区,91精品国产91免费

<menu id="6qfwx"><li id="6qfwx"></li></menu>
    1. <menu id="6qfwx"><dl id="6qfwx"></dl></menu>

      <label id="6qfwx"><ol id="6qfwx"></ol></label><menu id="6qfwx"></menu><object id="6qfwx"><strike id="6qfwx"><noscript id="6qfwx"></noscript></strike></object>
        1. <center id="6qfwx"><dl id="6qfwx"></dl></center>

            新聞中心

            EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 漫談WinCE的手寫識(shí)別技術(shù)(二)

            漫談WinCE的手寫識(shí)別技術(shù)(二)

            作者: 時(shí)間:2016-09-12 來(lái)源:網(wǎng)絡(luò) 收藏

            HWXSETCONTEXT = (DLL_HWXSETCONTEXT) GetProcAddress(hInstDll,TEXT(HwxSetContext));

            HWXINPUT = (DLL_HWXINPUT) GetProcAddress(hInstDll,TEXT(HwxInput));

            HWXPROCESS = (DLL_HWXPROCESS) GetProcAddress(hInstDll,TEXT(HwxProcess));

            HWXRESULTSAVAILABLE = (DLL_HWXRESULTSAVAILABLE) GetProcAddress(hInstDll,TEXT(HwxResultsAvailable));

            HWXGETRESULTS = (DLL_HWXGETRESULTS) GetProcAddress(hInstDll,TEXT(HwxGetResults));

            HWXDESTROY = (DLL_HWXDESTROY) GetProcAddress(hInstDll,TEXT(HwxDestroy));

            HWXENDINPUT = (DLL_HWXENDINPUT) GetProcAddress(hInstDll,TEXT(HwxEndInput));

            }

            else

            {

            return FALSE;

            }

            #endif //RECOGNIZE_FUNCTION_FROM_DLL

            if(HWXCONFIG() == FALSE)

            {

            return FALSE;

            }

            return TRUE;

            }

            //-----------------------------------------------------------------------

            //Descriptiong:

            // Begin recognizing

            //-----------------------------------------------------------------------

            BOOL CRecognizer::BeginRecognize()

            {

            BOOL bRes = FALSE;

            m_hrc = HWXCREATE();

            if(m_hrc == NULL)

            {

            goto END;

            }

            bRes = HWXSETGUIDE(m_hrc,m_hwxGuide);

            if(bRes == FALSE)

            {

            goto END;

            }

            bRes = HWXALCVALID(m_hrc,m_alc);

            if(bRes == FALSE)

            {

            goto END;

            }

            bRes = TRUE;

            END:

            return bRes;

            }

            //-----------------------------------------------------------------------

            //Descriptiong:

            // End recognizing

            BOOL CRecognizer::EndRecognize()

            {

            BOOL bRes = FALSE;

            //Destroy the recognizer

            if(HWXDESTROY(m_hrc) == FALSE)

            {

            goto END;

            }

            bRes = TRUE;

            END:

            return bRes;

            }

            //Descriptiong:

            // Get the character

            //Parameters:

            // pWchar: [out] The character get to be stored

            // iCount: [in] The number of pWchar

            //Return Values:

            // 0: Failed

            // >0: The number of the characters to return

            int CRecognizer::GetCharacter(WCHAR *pWchar, int iCount)

            {

            int iGetNum = 0;

            int i = 0;

            HWXRESULTS *phwxResults;

            //Because each HWXRESULTS after the first one could store two characters,

            //so only allocate (iCount / 2 + 1)

            int iNum = iCount / 2 + 1;

            phwxResults = new HWXRESULTS[iNum];

            memset(phwxResults,0,iNum * sizeof(HWXRESULTS));

            //End the input

            if(HWXENDINPUT(m_hrc) == FALSE)

            {

            goto END;

            }

            //Analyze the information

            if(HWXPROCESS(m_hrc) == FALSE)



            關(guān)鍵詞:

            評(píng)論


            相關(guān)推薦

            技術(shù)專區(qū)

            關(guān)閉