Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void f()
- {
- printf("Hello");
- }
- int main()
- {
- SetTimer(NULL, 0, 1000*60,(TIMERPROC) &f);
- }
- void CALLBACK f(HWND hwnd, UINT uMsg, UINT timerId, DWORD dwTime)
- {
- printf("Hello");
- }
- int main()
- {
- MSG msg;
- SetTimer(NULL, 0, 1000*60,(TIMERPROC) &f);
- while(GetMessage(&msg, NULL, 0, 0)) {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- return 0;
- }
- void CALLBACK DoCircuitHighlighting(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
- {
- // Your logic here...
- }
- SetTimer(5, 3000, DoCircuitHighlighting);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement