Author: fireball
Date: Thu Jan 15 10:52:50 2009
New Revision: 38771
URL:
http://svn.reactos.org/svn/reactos?rev=38771&view=rev
Log:
- Revert 38770's modifications to NDK.
- Temporary move Nt power function prototypes inside power.c file.
Modified:
trunk/reactos/dll/win32/kernel32/misc/power.c
trunk/reactos/include/ndk/pofuncs.h
Modified: trunk/reactos/dll/win32/kernel32/misc/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/po…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/power.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/power.c [iso-8859-1] Thu Jan 15 10:52:50 2009
@@ -18,6 +18,21 @@
#define STUB \
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
+
+NTSYSAPI
+NTSTATUS
+NTAPI
+NtGetDevicePowerState(
+ IN HANDLE Device,
+ IN PDEVICE_POWER_STATE PowerState
+);
+
+NTSYSAPI
+NTSTATUS
+NTAPI
+NtRequestWakeupLatency(
+ IN LATENCY_TIME latency
+);
/* PUBLIC FUNCTIONS ***********************************************************/
Modified: trunk/reactos/include/ndk/pofuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/pofuncs.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/pofuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/pofuncs.h [iso-8859-1] Thu Jan 15 10:52:50 2009
@@ -86,20 +86,4 @@
IN SYSTEM_POWER_STATE MinSystemState,
IN ULONG Flags
);
-
-NTSYSAPI
-NTSTATUS
-NTAPI
-NtGetDevicePowerState(
- IN HANDLE Device,
- IN PDEVICE_POWER_STATE PowerState
-);
-
-NTSYSAPI
-NTSTATUS
-NTAPI
-NtRequestWakeupLatency(
- IN LATENCY_TIME latency
-);
-
#endif