source: trunk/include/winos2def.h@ 18

Last change on this file since 18 was 18, checked in by phaller, 26 years ago

Further cleanup for linkage

File size: 873 bytes
RevLine 
[18]1/* $Id: winos2def.h,v 1.4 1999-05-31 22:37:22 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/*
17typedef unsigned long HMODULE;
[4]18typedef unsigned long HINSTANCE;
[17]19//typedef unsigned long ULONG;
20typedef char * PSZ;
21typedef ULONG MPARAM;
22typedef 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
[18]33#ifndef PSZ
34# define PSZ char *
35#endif
[17]36
[18]37
[4]38extern "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
[17]48#endif //__WINOS2DEF_H__
Note: See TracBrowser for help on using the repository browser.