Last change
on this file since 18 was 18, checked in by phaller, 26 years ago |
Further cleanup for linkage
|
File size:
873 bytes
|
Line | |
---|
1 | /* $Id: winos2def.h,v 1.4 1999-05-31 22:37:22 phaller Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | *
|
---|
5 | * OS/2 declarations when including os2win.h
|
---|
6 | *
|
---|
7 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
8 | *
|
---|
9 | */
|
---|
10 |
|
---|
11 | #ifndef __WINOS2DEF_H__
|
---|
12 | #define __WINOS2DEF_H__
|
---|
13 |
|
---|
14 | #define APIENTRY_OS2 _System
|
---|
15 |
|
---|
16 | /*
|
---|
17 | typedef unsigned long HMODULE;
|
---|
18 | typedef unsigned long HINSTANCE;
|
---|
19 | //typedef unsigned long ULONG;
|
---|
20 | typedef char * PSZ;
|
---|
21 | typedef ULONG MPARAM;
|
---|
22 | typedef ULONG APIRET;
|
---|
23 | */
|
---|
24 |
|
---|
25 | #ifndef MPARAM
|
---|
26 | # define MPARAM void*
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef APIRET
|
---|
30 | # define APIRET ULONG
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | #ifndef PSZ
|
---|
34 | # define PSZ char *
|
---|
35 | #endif
|
---|
36 |
|
---|
37 |
|
---|
38 | extern "C" {
|
---|
39 | BOOL APIENTRY_OS2 WinPostMsg(HWND hwnd,
|
---|
40 | ULONG msg,
|
---|
41 | MPARAM mp1,
|
---|
42 | MPARAM mp2);
|
---|
43 |
|
---|
44 | APIRET APIENTRY_OS2 DosSleep(ULONG msec);
|
---|
45 |
|
---|
46 | }
|
---|
47 |
|
---|
48 | #endif //__WINOS2DEF_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.