7 TYPE_TapEvent *evtInfo;
8 unsigned int eventNum, i;
11 TAP_Channel_GetCurrent(&svcType, &svcNum);
12 evtInfo = TAP_GetEvent(svcType, svcNum, &eventNum);
16 for(i = 0; i < eventNum; i++)
18 if(evtInfo[i].runningStatus == 4)
20 if(nCurEvent) *nCurEvent = i;
26 if(evtInfo) TAP_MemFree(evtInfo);
TYPE_TapEvent * GetCurrentEvent(int *nCurEvent)