CHAR __stdcall KiGetPendingTick(){
struct _KPRCB *CurrentPrcb;
if( KiClockTimerPerCpu )
CurrentPrcb = KeGetCurrentPrcb();
else
CurrentPrcb = *(&KiProcessorBlock + (unsigned int)KiClockTimerOwner);
return *((_BYTE *)CurrentPrcb + 34) & 1;
}