|
From: James T. <jim...@ad...> - 2001-10-24 18:30:42
|
Jason Filby wrote:
>
> Yes, we should definitely look at this. I just want to know what kind
> of headers WINE use? Would they also be able to use mingw headers?
>
> Thanks
> - Jason
>
Hi,
The windows headers are almost the same. For instance winuser.h in wine
has more information than the Ming windows headers. I ran into problems
porting with Ming and went back to Wine.
Wine header winuser.h has this
/* defines below are for all win versions (_WIN32_WINNT >= 0x0400) ||
* (_WIN32_WINDOWS > 0x0400) */
#define SPI_GETMOUSEHOVERWIDTH 98
#define SPI_SETMOUSEHOVERWIDTH 99
#define SPI_GETMOUSEHOVERHEIGHT 100
#define SPI_SETMOUSEHOVERHEIGHT 101
#define SPI_GETMOUSEHOVERTIME 102
#define SPI_SETMOUSEHOVERTIME 103
#define SPI_GETWHEELSCROLLLINES 104
#define SPI_SETWHEELSCROLLLINES 105
#define SPI_GETMENUSHOWDELAY 106
#define SPI_SETMENUSHOWDELAY 107
#define SPI_GETSHOWIMEUI 110
#define SPI_SETSHOWIMEUI 111
/* defines below are for all win versions WINVER >= 0x0500 */
#define SPI_GETMOUSESPEED 112
#define SPI_SETMOUSESPEED 113
#define SPI_GETSCREENSAVERRUNNING 114
#define SPI_GETDESKWALLPAPER 115
and Ming doesn't as I can see.
Here is a good example why we should take Caspers advice for having
wine header and wine dll code separate. See the following statements
make reference to NT ONLY.
SPI_GETMOUSEHOVERHEIGHT
Windows NT only: Gets the height, in pixels, of the rectangle
within which the mouse pointer has to stay for TrackMouseEvent
to generate a WM_MOUSEHOVER message. The height is returned in
a UINT pointed to by the pvParam parameter.
SPI_GETMOUSEHOVERTIME
Windows NT only: Gets the time, in milliseconds, that the mouse
pointer has to stay in the hover rectangle for TrackMouseEvent
to generate a WM_MOUSEHOVER message. The time is returned in a
UINT pointed to by the pvParam parameter.
SPI_GETMOUSEHOVERWIDTH
Windows NT only: Gets the width, in pixels, of the rectangle
within which the mouse pointer has to stay for TrackMouseEvent
to generate a WM_MOUSEHOVER message. The width is returned in
a UINT pointed to by the pvParam parameter.
I need these three for porting comctl32.c to ROS.
FYI,
James
====================================================
= To remove yourself from this mailing list, go to =
= http://www.reactos.com/home/mailing.html =
====================================================
|