Mercurial > wgsdk
view src/include/timer.h @ 8:00399cc5f7ce
git leftovers: remove .gitignore
author | Paper |
---|---|
date | Fri, 16 Dec 2022 20:46:33 -0500 |
parents | be4835547dd0 |
children | 42ac054c0231 |
line wrap: on
line source
#ifndef __timer_h #define __timer_h #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif #include <windows.h> struct timer { int initialized; int is_timer_alive; UINT interval; HWND winampClientWindow; TIMERPROC timer_proc; }; void timer_init(struct timer* timer, HWND winampClientWindow, TIMERPROC timer_proc); void timer_set(struct timer* timer, HWND winampClientWindow); void timer_stop(struct timer* timer, HWND winampClientWindow); #endif // __timer_h