Re: ReactOS W32API merge

Filip Navara <xnavara-VIXq6x/[email protected]> Sun, 18 Apr 2004 08:52:36 +0200
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
Luke Dunstan wrote:

>2. What is this CreateUserProfileW function? I don't see it documented and
>it's not in userenv.def.
>  
>
Ah, sorry. I haven't made this part of patch and forgot to verify it. It 
really doesn't belong there. You should propably ignore the whole patch 
for now (userenv.h.diff)

>3. I think WM_MOUSELAST needs to be defined for all Windows versions. It
>could be defined to 525 for >=Win2K and 522 otherwise, but setting it to 525
>always would probably be okay (not sure). Comments?
>  
>
Right. I think this code would be sufficient:

#if (_WIN32_WINNT >= 0x0500)
#define WM_XBUTTONDOWN 523
#define WM_XBUTTONUP 524
#define WM_XBUTTONDBLCLK 525
#define WM_MOUSELAST 525
#else
#define WM_MOUSELAST 522
#endif 

- Filip



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click