windows: use a heap to hold timers on windows, #1460

a new pr on v1.x, #1475 
style: align arguments with (struct.