PDA

View Full Version : Need advice on timers plz


One
03-04-2010, 05:38 AM
So i have this application that at a certain window has a 10-second "preview".
I figured i should look into timer apis and see if i could kill the timer or at least change the conditions after the timer reaches 0.

Im just not sure which API i would need to look for exactly, since there are several timer apis like getfiletime, setsystemtime, etc.


Which API do you guys think i should be looking for for the example i have shown u?



UPDATE: ive come across a User32.killtimer function everytime i see a countdown, my ollys been freezing before i could reach my breakpoints tho so i cant go further yet.
so now my question would be : if i nop just the user32.killtimer call in thats for the same window, will the countdown never run out?