1 | /* wrapper.h -- 32-bit wrappers for 16-bit functions
|
---|
2 | Copyright (c) 1994-1995 by Eberhard Mattes
|
---|
3 |
|
---|
4 | This file is part of emx.
|
---|
5 |
|
---|
6 | emx is free software; you can redistribute it and/or modify it
|
---|
7 | under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 2, or (at your option)
|
---|
9 | any later version.
|
---|
10 |
|
---|
11 | emx is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with emx; see the file COPYING. If not, write to
|
---|
18 | the Free Software Foundation, 59 Temple Place - Suite 330,
|
---|
19 | Boston, MA 02111-1307, USA.
|
---|
20 |
|
---|
21 | As special exception, emx.dll can be distributed without source code
|
---|
22 | unless it has been changed. If you modify emx.dll, this exception
|
---|
23 | no longer applies and you must remove this paragraph from all source
|
---|
24 | files for emx.dll. */
|
---|
25 |
|
---|
26 |
|
---|
27 | #include <os2thunk.h>
|
---|
28 |
|
---|
29 | #define PFLG_A 0
|
---|
30 |
|
---|
31 | #define FLGP_SUBTREE 0
|
---|
32 | #define FLGP_PID 1
|
---|
33 |
|
---|
34 | #define SIG_PFLG_A 5
|
---|
35 |
|
---|
36 | #define SIGA_ACCEPT 2
|
---|
37 |
|
---|
38 | USHORT DosFlagProcess (PID pid, USHORT fScope, USHORT usFlagNum,
|
---|
39 | USHORT usFlagArg);
|
---|
40 | USHORT DosSetSigHandler (_far16ptr pfnSigHandler, _far16ptr *ppfnPrev,
|
---|
41 | PUSHORT pfAction, USHORT fAction, USHORT usSigNum);
|
---|