1 | /*
|
---|
2 | *@@sourcefile threads.h:
|
---|
3 | * header file for treads.c. See remarks there.
|
---|
4 | *
|
---|
5 | * Note: Version numbering in this file relates to XWorkplace version
|
---|
6 | * numbering.
|
---|
7 | *
|
---|
8 | *@@include #define INCL_DOSPROCESS
|
---|
9 | *@@include #include <os2.h>
|
---|
10 | *@@include #include "threads.h"
|
---|
11 | */
|
---|
12 |
|
---|
13 | /*
|
---|
14 | * Copyright (C) 1997-2000 Ulrich Mller.
|
---|
15 | * This file is part of the "XWorkplace helpers" source package.
|
---|
16 | * This is free software; you can redistribute it and/or modify
|
---|
17 | * it under the terms of the GNU General Public License as published
|
---|
18 | * by the Free Software Foundation, in version 2 as it comes in the
|
---|
19 | * "COPYING" file of the XWorkplace main distribution.
|
---|
20 | * This program is distributed in the hope that it will be useful,
|
---|
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
23 | * GNU General Public License for more details.
|
---|
24 | */
|
---|
25 |
|
---|
26 | #if __cplusplus
|
---|
27 | extern "C" {
|
---|
28 | #endif
|
---|
29 |
|
---|
30 | #ifndef TIMER_HEADER_INCLUDED
|
---|
31 | #define TIMER_HEADER_INCLUDED
|
---|
32 |
|
---|
33 | USHORT APIENTRY tmrStartTimer(HWND hwnd, USHORT usTimerID, ULONG ulTimeout);
|
---|
34 | typedef USHORT APIENTRY TMRSTARTTIMER(HWND hwnd, USHORT usTimerID, ULONG ulTimeout);
|
---|
35 | typedef TMRSTARTTIMER *PTMRSTARTTIMER;
|
---|
36 |
|
---|
37 | BOOL APIENTRY tmrStopTimer(HWND hwnd, USHORT usTimerID);
|
---|
38 | typedef BOOL APIENTRY TMRSTOPTIMER(HWND hwnd, USHORT usTimerID);
|
---|
39 | typedef TMRSTOPTIMER *PTMRSTOPTIMER;
|
---|
40 |
|
---|
41 | VOID tmrStopAllTimers(HWND hwnd);
|
---|
42 | typedef VOID TMRSTOPALLTIMERS(HWND hwnd);
|
---|
43 | typedef TMRSTOPALLTIMERS *PTMRSTOPALLTIMERS;
|
---|
44 |
|
---|
45 | #endif
|
---|
46 |
|
---|
47 | #if __cplusplus
|
---|
48 | }
|
---|
49 | #endif
|
---|
50 |
|
---|