Line | |
---|
1 | /*
|
---|
2 | *
|
---|
3 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
4 | *
|
---|
5 | */
|
---|
6 | #ifndef __WINTIMER_H__
|
---|
7 | #define __WINTIMER_H__
|
---|
8 |
|
---|
9 | #define TIMERR_BASE 96
|
---|
10 |
|
---|
11 | #define TIMERR_NOERROR (0)
|
---|
12 | #define TIMERR_NOCANDO (TIMERR_BASE+1)
|
---|
13 | #define TIMERR_STRUCT (TIMERR_BASE+33)
|
---|
14 |
|
---|
15 | typedef void (CALLBACK TIMECALLBACK)(UINT uTimerID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2);
|
---|
16 | typedef TIMECALLBACK *LPTIMECALLBACK;
|
---|
17 |
|
---|
18 | #define TIME_ONESHOT 0x0000
|
---|
19 | #define TIME_PERIODIC 0x0001
|
---|
20 | #define TIME_CALLBACK_FUNCTION 0x0000
|
---|
21 | #define TIME_CALLBACK_EVENT_SET 0x0010
|
---|
22 | #define TIME_CALLBACK_EVENT_PULSE 0x0020
|
---|
23 |
|
---|
24 | typedef struct {
|
---|
25 | UINT wPeriodMin;
|
---|
26 | UINT wPeriodMax;
|
---|
27 | } TIMECAPS, *LPTIMECAPS;
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.