Last change
on this file since 17 was 17, checked in by phaller, 26 years ago |
Code cleanup #1 for build, mainly addresses linkage problems
|
File size:
832 bytes
|
Rev | Line | |
---|
[17] | 1 | /* $Id: winos2def.h,v 1.3 1999-05-31 22:08:08 phaller Exp $ */
|
---|
[4] | 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 |
|
---|
[17] | 14 | #define APIENTRY_OS2 _System
|
---|
[4] | 15 |
|
---|
[17] | 16 | /*
|
---|
| 17 | typedef unsigned long HMODULE;
|
---|
[4] | 18 | typedef unsigned long HINSTANCE;
|
---|
[17] | 19 | //typedef unsigned long ULONG;
|
---|
| 20 | typedef char * PSZ;
|
---|
| 21 | typedef ULONG MPARAM;
|
---|
| 22 | typedef ULONG APIRET;
|
---|
| 23 | */
|
---|
[4] | 24 |
|
---|
[17] | 25 | #ifndef MPARAM
|
---|
| 26 | # define MPARAM void*
|
---|
| 27 | #endif
|
---|
| 28 |
|
---|
| 29 | #ifndef APIRET
|
---|
| 30 | # define APIRET ULONG
|
---|
| 31 | #endif
|
---|
| 32 |
|
---|
| 33 |
|
---|
[4] | 34 | extern "C" {
|
---|
| 35 | BOOL APIENTRY_OS2 WinPostMsg(HWND hwnd,
|
---|
| 36 | ULONG msg,
|
---|
| 37 | MPARAM mp1,
|
---|
| 38 | MPARAM mp2);
|
---|
| 39 |
|
---|
| 40 | APIRET APIENTRY_OS2 DosSleep(ULONG msec);
|
---|
| 41 |
|
---|
| 42 | }
|
---|
| 43 |
|
---|
[17] | 44 | #endif //__WINOS2DEF_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.