include vmm.inc
mov edi, ThreadHandle
mov eax, BoostAmount
mov ecx, DecayAmount
VMMCall Boost_With_Decay
Boosts a thread's time-slice priority for one time slice, then adjusts the boost by the specified decay amount for subsequent time slices until the thread's original base priority is reached. Uses Flags.
The BoostAmount and DecayAmount values must be either both positive or both negative.