comparison src/timer/win32/SDL_systimer.c @ 1480:0a2bd6507477

More Win64 updates
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Mar 2006 05:21:32 +0000
parents bb6839704ed6
children 420b3f47806d
comparison
equal deleted inserted replaced
1479:993ef9ff4688 1480:0a2bd6507477
126 } 126 }
127 127
128 /* Forward declaration because this is called by the timer callback */ 128 /* Forward declaration because this is called by the timer callback */
129 int SDL_SYS_StartTimer(void); 129 int SDL_SYS_StartTimer(void);
130 130
131 static VOID CALLBACK TimerCallbackProc(HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime) 131 static VOID CALLBACK TimerCallbackProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
132 { 132 {
133 Uint32 ms; 133 Uint32 ms;
134 134
135 ms = SDL_alarm_callback(SDL_alarm_interval); 135 ms = SDL_alarm_callback(SDL_alarm_interval);
136 if ( ms != SDL_alarm_interval ) { 136 if ( ms != SDL_alarm_interval ) {
168 #else /* !USE_SETTIMER */ 168 #else /* !USE_SETTIMER */
169 169
170 /* Data to handle a single periodic alarm */ 170 /* Data to handle a single periodic alarm */
171 static UINT timerID = 0; 171 static UINT timerID = 0;
172 172
173 static void CALLBACK HandleAlarm(UINT uID, UINT uMsg, DWORD dwUser, 173 static void CALLBACK HandleAlarm(UINT uID, UINT uMsg, DWORD_PTR dwUser,
174 DWORD dw1, DWORD dw2) 174 DWORD_PTR dw1, DWORD_PTR dw2)
175 { 175 {
176 SDL_ThreadedTimerCheck(); 176 SDL_ThreadedTimerCheck();
177 } 177 }
178 178
179 179