Changeset 1405 for trunk/src/user32/timer.cpp
- Timestamp:
- Oct 22, 1999, 8:11:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/timer.cpp
r1094 r1405 1 /* $Id: timer.cpp,v 1. 4 1999-09-29 09:31:18 dengertExp $ */1 /* $Id: timer.cpp,v 1.5 1999-10-22 18:11:47 sandervl Exp $ */ 2 2 3 3 /* … … 177 177 { 178 178 UINT rc; 179 USHORT sel = RestoreOS2FS();180 179 181 180 dprintf(("USER32: SetTimer %04x %d %d %08lx", hwnd, id, timeout, (LONG)proc)); 182 181 183 182 rc = TIMER_SetTimer (hwnd, id, timeout, proc, FALSE); 184 SetFS(sel);185 183 return (rc); 186 184 } … … 192 190 { 193 191 UINT rc; 194 USHORT sel = RestoreOS2FS();195 192 196 193 dprintf(("USER32: SetSystemTimer %04x %d %d %08lx", hwnd, id, timeout, (LONG)proc)); 197 194 198 195 rc = TIMER_SetTimer (hwnd, id, timeout, proc, TRUE); 199 SetFS(sel);200 196 return (rc); 201 197 } … … 207 203 { 208 204 BOOL rc; 209 USHORT sel = RestoreOS2FS();210 205 211 206 dprintf(("USER32: KillTimer %04x %d", hwnd, id)); 212 207 213 208 rc = TIMER_KillTimer (hwnd, id, FALSE); 214 SetFS(sel);215 209 return (rc); 216 210 } … … 222 216 { 223 217 BOOL rc; 224 USHORT sel = RestoreOS2FS();225 218 226 219 dprintf(("USER32: KillSystemTimer %04x %d", hwnd, id)); 227 220 228 221 rc = TIMER_KillTimer (hwnd, id, TRUE); 229 SetFS(sel); 230 return (rc); 231 } 232 222 return (rc); 223 } 224
Note:
See TracChangeset
for help on using the changeset viewer.