better GetSystemPowerStatus stub
Modified: trunk/reactos/lib/kernel32/misc/stubs.c

Modified: trunk/reactos/lib/kernel32/misc/stubs.c
--- trunk/reactos/lib/kernel32/misc/stubs.c	2005-12-11 23:43:37 UTC (rev 20092)
+++ trunk/reactos/lib/kernel32/misc/stubs.c	2005-12-11 23:45:44 UTC (rev 20093)
@@ -194,7 +194,13 @@
     )
 {
     STUB;
-    return 0;
+    PowerStatus->ACLineStatus = 1;
+    PowerStatus->BatteryFlag = 128;
+    PowerStatus->BatteryLifePercent = 255;
+    PowerStatus->Reserved1 = 0;
+    PowerStatus->BatteryLifeTime = -1;
+    PowerStatus->BatteryFullLifeTime = -1;
+    return TRUE;
 }