| Line | |
|---|
| 1 | /* $Id: winos2def.h,v 1.1 1999-05-24 20:19:07 ktk 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 | typedef unsigned long HMODULE;
|
|---|
| 17 | typedef unsigned long HINSTANCE;
|
|---|
| 18 | //typedef unsigned long ULONG;
|
|---|
| 19 | typedef char * PSZ;
|
|---|
| 20 | typedef ULONG MPARAM;
|
|---|
| 21 | typedef ULONG APIRET;
|
|---|
| 22 |
|
|---|
| 23 | extern "C" {
|
|---|
| 24 | BOOL APIENTRY_OS2 WinPostMsg(HWND hwnd,
|
|---|
| 25 | ULONG msg,
|
|---|
| 26 | MPARAM mp1,
|
|---|
| 27 | MPARAM mp2);
|
|---|
| 28 |
|
|---|
| 29 | APIRET APIENTRY_OS2 DosSleep(ULONG msec);
|
|---|
| 30 |
|
|---|
| 31 | }
|
|---|
| 32 |
|
|---|
| 33 | #endif //__WINOS2DEF_H__
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.