UINT8 __stdcall KiGetPendingTick(){
struct _KPRCB *CurrentPrcb;
if( KiClockTimerPerCpu )
CurrentPrcb = KeGetCurrentPrcb();
else
CurrentPrcb = *(&KiProcessorBlock + (unsigned int)KiClockTimerOwner);
return CurrentPrcb->PendingTickFlags & 1;
}