C语言实现windows定时回调任务CreateTimerQueueTimer
/ Set a timer to call the timer routine in T_ms seconds. 周期性定时执行回调函数。//printf("定时器中断任务执行. Parameter is %d.\n", *(int*)lpParam);printf("定时器中断任务执行%d 次.\n", T_back );//2s定时中断任务。// 回调函数,定时器到期后执行该函数。
原创
2023-11-02 21:25:08 ·
182 阅读 ·
0 评论