Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-25 Thread Danny Backx
Apologies, looks like I did the "svn add" but not the commit, or the latter failed without me noticing it. Anyway, I've just committed. Danny On Sun, 2009-01-25 at 12:31 +0100, Lars Munch wrote: > Index: cegcc/src/w32api/include/winbase.h > ===

Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-25 Thread Lars Munch
On Sun, Jan 25, 2009 at 09:43:02AM +0100, Danny Backx wrote: > Lars, > > Thanks a lot for your work. I was away for a couple of days so I had no > access to my mail. > > Your submission adds a couple of things to the pm.h that I had recently > entered in SVN. I've merged them and attached the res

Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-25 Thread Danny Backx
Lars, Thanks a lot for your work. I was away for a couple of days so I had no access to my mail. Your submission adds a couple of things to the pm.h that I had recently entered in SVN. I've merged them and attached the result to this message. The winbase.h patch was already in SVN, a submission

Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-23 Thread Lars Munch
On Thu, Jan 22, 2009 at 06:44:01PM +, Pedro Alves wrote: > On Wednesday 21 January 2009 17:20:52, Lars Munch wrote: > > arm-mingw32ce-gcc -dM -E - < /dev/null |grep WINNT > > #define __WINNT 1 > > #define __WINNT__ 1 > > #define WINNT 1 > > > > so why is the _WIN32_WINNT guard not working? I a

Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-22 Thread Pedro Alves
On Wednesday 21 January 2009 17:20:52, Lars Munch wrote: > arm-mingw32ce-gcc -dM -E - < /dev/null |grep WINNT > #define __WINNT 1 > #define __WINNT__ 1 > #define WINNT 1 > > so why is the _WIN32_WINNT guard not working? I am missing something? > Because it is defined in windef.h. -- Pedro Alve

Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-21 Thread Lars Munch
On Wed, Jan 21, 2009 at 07:06:22PM +0100, Nicolas Aguirre wrote: > On Wed, Jan 21, 2009 at 6:20 PM, Lars Munch wrote: > > Hi > > > > Attached patch adds the power management header "pm.h" based on > > information from: http://msdn.microsoft.com/en-us/library/aa909892.aspx > > > > All these functio

Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-21 Thread Nicolas Aguirre
On Wed, Jan 21, 2009 at 6:20 PM, Lars Munch wrote: > Hi > > Attached patch adds the power management header "pm.h" based on > information from: http://msdn.microsoft.com/en-us/library/aa909892.aspx > > All these functions are in coredll > > ...but the patch has two issues (one show stopper). > > 1

[Cegcc-devel] [PATCH] Add pm.h header

2009-01-21 Thread Lars Munch
Hi Attached patch adds the power management header "pm.h" based on information from: http://msdn.microsoft.com/en-us/library/aa909892.aspx All these functions are in coredll ...but the patch has two issues (one show stopper). 1. issue (the show stopper) : The function SetSystemPowerState is de