Last change
on this file since 257 was 95, checked in by phaller, 26 years ago |
Add: added cvs variable $Id$ to source files.
|
File size:
800 bytes
|
Line | |
---|
1 | /* $Id: wintimer.h,v 1.3 1999-06-10 16:24:35 phaller Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | *
|
---|
5 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
6 | *
|
---|
7 | */
|
---|
8 | #ifndef __WINTIMER_H__
|
---|
9 | #define __WINTIMER_H__
|
---|
10 |
|
---|
11 | #define TIMERR_BASE 96
|
---|
12 |
|
---|
13 | #define TIMERR_NOERROR (0)
|
---|
14 | #define TIMERR_NOCANDO (TIMERR_BASE+1)
|
---|
15 | #define TIMERR_STRUCT (TIMERR_BASE+33)
|
---|
16 |
|
---|
17 | typedef void (CALLBACK TIMECALLBACK)(UINT uTimerID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2);
|
---|
18 | typedef TIMECALLBACK *LPTIMECALLBACK;
|
---|
19 |
|
---|
20 | #define TIME_ONESHOT 0x0000
|
---|
21 | #define TIME_PERIODIC 0x0001
|
---|
22 | #define TIME_CALLBACK_FUNCTION 0x0000
|
---|
23 | #define TIME_CALLBACK_EVENT_SET 0x0010
|
---|
24 | #define TIME_CALLBACK_EVENT_PULSE 0x0020
|
---|
25 |
|
---|
26 | typedef struct {
|
---|
27 | UINT wPeriodMin;
|
---|
28 | UINT wPeriodMax;
|
---|
29 | } TIMECAPS, *LPTIMECAPS;
|
---|
30 |
|
---|
31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.