home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / archive / emx / patches / patch05 < prev    next >
Encoding:
Text File  |  1993-02-16  |  1.8 KB  |  43 lines

  1. Subject: emx 0.8f patch #5: os2emx.h
  2.  
  3. This patch to os2emx.h disables warnings for the MPFROMCHAR and
  4. MPFROMSHORT macros and adds three functions I forgot.
  5.  
  6. *** os2emx.h    Tue Dec 15 12:14:14 1992
  7. --- d:os2emx.h    Tue Jan 19 02:46:02 1993
  8. ***************
  9. *** 5626,5633 ****
  10.   
  11.   #define MPFROMP(x)              ((MPARAM)((ULONG)(x)))
  12.   #define MPFROMHWND(x)           ((MPARAM)(HWND)(x))
  13. ! #define MPFROMCHAR(x)           ((MPARAM)(USHORT)(x))
  14. ! #define MPFROMSHORT(x)          ((MPARAM)(USHORT)(x))
  15.   #define MPFROM2SHORT(x1,x2)     ((MPARAM)MAKELONG (x1, x2))
  16.   #define MPFROMSH2CH(s,c1,c2)    ((MPARAM)MAKELONG (s, MAKESHORT (c1, c2)))
  17.   #define MPFROMLONG(x)           ((MPARAM)(ULONG)(x))
  18. --- 5626,5633 ----
  19.   
  20.   #define MPFROMP(x)              ((MPARAM)((ULONG)(x)))
  21.   #define MPFROMHWND(x)           ((MPARAM)(HWND)(x))
  22. ! #define MPFROMCHAR(x)           ((MPARAM)(ULONG)(USHORT)(x))
  23. ! #define MPFROMSHORT(x)          ((MPARAM)(ULONG)(USHORT)(x))
  24.   #define MPFROM2SHORT(x1,x2)     ((MPARAM)MAKELONG (x1, x2))
  25.   #define MPFROMSH2CH(s,c1,c2)    ((MPARAM)MAKELONG (s, MAKESHORT (c1, c2)))
  26.   #define MPFROMLONG(x)           ((MPARAM)(ULONG)(x))
  27. ***************
  28. *** 5924,5931 ****
  29. --- 5924,5934 ----
  30.       ULONG cbBuf, PVOID pbBuf, ULONG fs);
  31.   BOOL WinQueryQueueInfo (HMQ hmq, PMQINFO pmqi, ULONG cbCopy);
  32.   ULONG WinQueryQueueStatus (HWND hwndDesktop);
  33. + LONG WinQuerySysColor (HWND hwndDesktop, LONG clr, LONG lReserved);
  34.   HWND WinQuerySysModalWindow (HWND hwndDesktop);
  35. + HPOINTER WinQuerySysPointer (HWND hwndDesktop, LONG lId, BOOL fCopy);
  36.   LONG WinQuerySysValue (HWND hwndDesktop, LONG iSysValue);
  37. + HATOMTBL WinQuerySystemAtomTable (VOID);
  38.   BOOL WinQueryUpdateRect (HWND hwnd, PRECTL prcl);
  39.   LONG WinQueryUpdateRegion (HWND hwnd, HRGN hrgn);
  40.   ULONG WinQueryVersion (HAB hab);
  41.  
  42. Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
  43.