Sorry… But I *really* don’t like your chosen solution.
What version of the OS are you using?
How are you going to use the timer? Wait on it, or have it queue a DPC? Either way, are you not screwed?
Don’t fix it until you’ve profiled it, and understand PRECISELY what the problem is.
Peter
OSR
@OSRDrivers