From: SourceForge.net <no...@so...> - 2003-06-06 00:49:35
|
Patches item #732420, was opened at 2003-05-05 12:30 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=732420&group_id=2435 Category: w32api Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: James E. Lucas (xelloss) >Assigned to: Danny Smith (dannysmith) Summary: w32api - powrprof (Power Management) Initial Comment: This patch applies to version 2.3 I actually did this implementation a while ago (2.1) but never submitted it. At the time I had to add a bunch of stuff to winnt.h, most of which was actually put in by someone else as of 2.3 I still had to add POWER_INFORMATION_LEVEL to winnt.h, because powrprof needs it. It's currently also declared in ddk/ntpoapi.h. I feel my implementation is the correct one since this is where MS puts it, and most of the other power management structures and things are also in winnt.h. Still, I didn't want to step on anyone's toes so my patch leaves the other one alone. Someone wiser than I can decide what to do about it. Also, powrprof.h doesn't include winnt.h, even though it depends on it. Since MS doesn't include it in theirs, I didn't either, but maybe it should be there. ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2003-06-06 12:49 Message: Logged In: YES user_id=11494 Ok, I've committed a revised version of your patch, omittig undocumented stuff. I've replaced your definition of NTSTATUS with #include <ntfefs.h> Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=732420&group_id=2435 |