Want to achieve every once in a while will trigger a function, during the program does not Sleep
How to implement?
CodePudding user response:
The SetTimer The SetTimer function creates a timer with The specified time - out value.
UINT SetTimer ( HWND HWND ,//handle of the window for the timer messages UINT nIDEvent,//timer identifier UINT uElapse,//the time - out value TIMERPROC lpTimerFunc//address of the timer procedure );
CodePudding user response:
SetTimer has a callback function, need not be HWND
CodePudding user response:
Using the Timer the Queues
CodePudding user response:
The callback function address how according to the function name for?