Author: winesync
Date: Tue Jul 4 18:14:41 2006
New Revision: 22832
URL:
http://svn.reactos.org/svn/reactos?rev=22832&view=rev
Log:
Autosyncing with Wine
Added:
trunk/reactos/dll/win32/powrprof/powrprof.spec (with props)
Removed:
trunk/reactos/dll/win32/powrprof/powrprof.rc
trunk/reactos/dll/win32/powrprof/powrprof_gcc.def
Modified:
trunk/reactos/dll/win32/powrprof/powrprof.rbuild
Modified: trunk/reactos/dll/win32/powrprof/powrprof.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/powrprof/powrpro…
==============================================================================
--- trunk/reactos/dll/win32/powrprof/powrprof.rbuild (original)
+++ trunk/reactos/dll/win32/powrprof/powrprof.rbuild Tue Jul 4 18:14:41 2006
@@ -1,18 +1,17 @@
<module name="powrprof" type="win32dll"
baseaddress="${BASEADDRESS_POWRPROF}" installbase="system32"
installname="powrprof.dll" allowwarnings="true">
- <importlibrary definition="powrprof_gcc.def" />
- <include base="ReactOS">include/wine</include>
- <define name="_DISABLE_TIDENTS" />
+ <importlibrary definition="powrprof.spec.def" />
+ <include base="powrprof">.</include>
+ <include base="ReactOS">include/reactos/wine</include>
<define name="__REACTOS__" />
+ <define name="__WINESRC__" />
<define name="__USE_W32API" />
- <define name="UNICODE" />
- <define name="_UNICODE" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<define name="WINVER">0x501</define>
<library>wine</library>
+ <library>advapi32</library>
+ <library>kernel32</library>
<library>ntdll</library>
- <library>kernel32</library>
- <library>ntoskrnl</library>
<file>powrprof.c</file>
- <file>powrprof.rc</file>
+ <file>powrprof.spec</file>
</module>
Removed: trunk/reactos/dll/win32/powrprof/powrprof.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/powrprof/powrpro…
==============================================================================
--- trunk/reactos/dll/win32/powrprof/powrprof.rc (original)
+++ trunk/reactos/dll/win32/powrprof/powrprof.rc (removed)
@@ -1,10 +1,0 @@
-/* $Id: version.rc 12852 2005-01-06 13:58:04Z mf $ */
-
-#include "powrprof.h"
-//#include "misc.h"
-//#include "type.h"
-#define REACTOS_VERSION_DLL
-#define REACTOS_STR_FILE_DESCRIPTION "Power Profile Helper DLL\0"
-#define REACTOS_STR_INTERNAL_NAME "powerprof\0"
-#define REACTOS_STR_ORIGINAL_FILENAME "powerprof.dll\0"
-#include <reactos/version.rc>
Added: trunk/reactos/dll/win32/powrprof/powrprof.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/powrprof/powrpro…
==============================================================================
--- trunk/reactos/dll/win32/powrprof/powrprof.spec (added)
+++ trunk/reactos/dll/win32/powrprof/powrprof.spec Tue Jul 4 18:14:41 2006
@@ -1,0 +1,20 @@
+@ stdcall CallNtPowerInformation (long ptr long ptr long)
+@ stdcall CanUserWritePwrScheme ()
+@ stdcall DeletePwrScheme (long)
+@ stdcall EnumPwrSchemes (ptr long)
+@ stdcall GetActivePwrScheme (ptr)
+@ stdcall GetCurrentPowerPolicies (ptr ptr)
+@ stdcall GetPwrCapabilities (ptr)
+@ stdcall GetPwrDiskSpindownRange (ptr ptr)
+@ stdcall IsAdminOverrideActive (ptr)
+@ stdcall IsPwrHibernateAllowed ()
+@ stdcall IsPwrShutdownAllowed ()
+@ stdcall IsPwrSuspendAllowed ()
+@ stdcall ReadGlobalPwrPolicy (ptr)
+@ stdcall ReadProcessorPwrScheme (long ptr)
+@ stdcall ReadPwrScheme (long ptr)
+@ stdcall SetActivePwrScheme (long ptr ptr)
+@ stdcall SetSuspendState (long long long)
+@ stdcall WriteGlobalPwrPolicy (ptr)
+@ stdcall WriteProcessorPwrScheme (long ptr)
+@ stdcall WritePwrScheme (ptr str str ptr)
Propchange: trunk/reactos/dll/win32/powrprof/powrprof.spec
------------------------------------------------------------------------------
svn:eol-style = native
Removed: trunk/reactos/dll/win32/powrprof/powrprof_gcc.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/powrprof/powrpro…
==============================================================================
--- trunk/reactos/dll/win32/powrprof/powrprof_gcc.def (original)
+++ trunk/reactos/dll/win32/powrprof/powrprof_gcc.def (removed)
@@ -1,36 +1,0 @@
-
-; $Id: version.def 12852 2005-01-06 13:58:04Z mf $
-; ReactOS Operating System
-;
-LIBRARY powrprof.dll
-EXPORTS
-CallNtPowerInformation@20
-;NtPowerInformation@20=ntokrnl._NtPowerInformation@20
-CanUserWritePwrScheme@0
-;DebugPrintA
-;DllInitialize
-DeletePwrScheme@4
-;DevicePowerClose
-;DevicePowerEnumDevices
-;DevicePowerOpen
-;DevicePowerSetDeviceState
-EnumPwrSchemes@8
-GetActivePwrScheme@4
-GetCurrentPowerPolicies@8
-GetPwrCapabilities@4
-GetPwrDiskSpindownRange@8
-IsAdminOverrideActive@4
-IsPwrHibernateAllowed@0
-IsPwrShutdownAllowed@0
-IsPwrSuspendAllowed@0
-;LoadCurrentPwrScheme
-;MergeLegacyPwrScheme
-ReadGlobalPwrPolicy@4
-ReadProcessorPwrScheme@8
-ReadPwrScheme@8
-SetActivePwrScheme@12
-SetSuspendState@12
-ValidatePowerPolicies@8
-WriteGlobalPwrPolicy@4
-WriteProcessorPwrScheme@8
-WritePwrScheme@16