8 dword *TreeByHashStart, *TreeByHashCurrent;
14 TreeByHashCurrent = (dword*)*TreeByHashStart;
15 if(TreeByHashCurrent != TreeByHashStart)
19 EventInfoCurrent = (
TYPE_EvtInfo*)(TreeByHashCurrent - 8);
21 if((EventInfoCurrent->
ServiceID == ServiceID) &&
22 (EventInfoCurrent->
TSID == TSID) &&
24 (EventInfoCurrent->
SatIndex == SatIndex) &&
26 (EventInfoCurrent->
StartTime <= CurrentGMT) &&
27 (EventInfoCurrent->
EndTime > CurrentGMT))
31 return EventInfoCurrent;
33 TreeByHashCurrent = (dword*)*TreeByHashCurrent;
34 }
while(TreeByHashCurrent != TreeByHashStart);
dword * Appl_GetEvtListHeadInHash(word NetID, word TSID, word ServiceID)
void * Appl_GetSameTimeEvent(byte SatIndex, word NetID, word TSID, word ServiceID)
dword LocalTime2UTC(dword LocalTime, short *Offset)