|
楼主 |
发表于 2008-7-24 16:44:38
|
显示全部楼层
SEARCH_RESULT=fnPySearch(IMEelementBuffer,IMEphoneticBuffer,IMEcandidateBuffer,PYSEARCH_STEP1_pyz
h);
/***********************返回状态*******************************************/
if (FUC_RIGHT_CALLED==SEARCH_RESULT)
{
fnPySearch(IMEelementBuffer,IMEphoneticBuffer,IMEcandidateBuffer,IMEphoneticIndex);
IMEcandCount=cscount_result;
IMEphoneticCount=pycount_result;
IMEbValidCandidates=TRUE;
IMEbValidPhonetic=TRUE;
}
}
else if((!IMEbFocusOnPhonetic)&&IMEbSkipGetCandidate)
{
fnCharAssociation(IMELastWord, IMEcandidateBuffer);
IMEphoneticCount=pycount_result=0;
IMEelementCount = 0;
IMEelementBuffer[IMEelementCount] = 0;
if(cscount_result)
{
IMEcandCount=cscount_result;
IMEbValidCandidates=TRUE;
}
} |
|