home *** CD-ROM | disk | FTP | other *** search
- Subject: emx 0.8f patch #5: os2emx.h
-
- This patch to os2emx.h disables warnings for the MPFROMCHAR and
- MPFROMSHORT macros and adds three functions I forgot.
-
- *** os2emx.h Tue Dec 15 12:14:14 1992
- --- d:os2emx.h Tue Jan 19 02:46:02 1993
- ***************
- *** 5626,5633 ****
-
- #define MPFROMP(x) ((MPARAM)((ULONG)(x)))
- #define MPFROMHWND(x) ((MPARAM)(HWND)(x))
- ! #define MPFROMCHAR(x) ((MPARAM)(USHORT)(x))
- ! #define MPFROMSHORT(x) ((MPARAM)(USHORT)(x))
- #define MPFROM2SHORT(x1,x2) ((MPARAM)MAKELONG (x1, x2))
- #define MPFROMSH2CH(s,c1,c2) ((MPARAM)MAKELONG (s, MAKESHORT (c1, c2)))
- #define MPFROMLONG(x) ((MPARAM)(ULONG)(x))
- --- 5626,5633 ----
-
- #define MPFROMP(x) ((MPARAM)((ULONG)(x)))
- #define MPFROMHWND(x) ((MPARAM)(HWND)(x))
- ! #define MPFROMCHAR(x) ((MPARAM)(ULONG)(USHORT)(x))
- ! #define MPFROMSHORT(x) ((MPARAM)(ULONG)(USHORT)(x))
- #define MPFROM2SHORT(x1,x2) ((MPARAM)MAKELONG (x1, x2))
- #define MPFROMSH2CH(s,c1,c2) ((MPARAM)MAKELONG (s, MAKESHORT (c1, c2)))
- #define MPFROMLONG(x) ((MPARAM)(ULONG)(x))
- ***************
- *** 5924,5931 ****
- --- 5924,5934 ----
- ULONG cbBuf, PVOID pbBuf, ULONG fs);
- BOOL WinQueryQueueInfo (HMQ hmq, PMQINFO pmqi, ULONG cbCopy);
- ULONG WinQueryQueueStatus (HWND hwndDesktop);
- + LONG WinQuerySysColor (HWND hwndDesktop, LONG clr, LONG lReserved);
- HWND WinQuerySysModalWindow (HWND hwndDesktop);
- + HPOINTER WinQuerySysPointer (HWND hwndDesktop, LONG lId, BOOL fCopy);
- LONG WinQuerySysValue (HWND hwndDesktop, LONG iSysValue);
- + HATOMTBL WinQuerySystemAtomTable (VOID);
- BOOL WinQueryUpdateRect (HWND hwnd, PRECTL prcl);
- LONG WinQueryUpdateRegion (HWND hwnd, HRGN hrgn);
- ULONG WinQueryVersion (HAB hab);
-
- Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
-