[ros-diffs] [winesync] 22832: Autosyncing with Wine

winesync at svn.reactos.org winesync at svn.reactos.org
Tue Jul 4 16:14:41 CEST 2006


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/powrprof.rbuild?rev=22832&r1=22831&r2=22832&view=diff
==============================================================================
--- 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/powrprof.rc?rev=22831&view=auto
==============================================================================
--- 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/powrprof.spec?rev=22832&view=auto
==============================================================================
--- 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/powrprof_gcc.def?rev=22831&view=auto
==============================================================================
--- 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 at 20
-;NtPowerInformation at 20=ntokrnl._NtPowerInformation at 20
-CanUserWritePwrScheme at 0
-;DebugPrintA
-;DllInitialize
-DeletePwrScheme at 4
-;DevicePowerClose
-;DevicePowerEnumDevices
-;DevicePowerOpen
-;DevicePowerSetDeviceState
-EnumPwrSchemes at 8
-GetActivePwrScheme at 4
-GetCurrentPowerPolicies at 8
-GetPwrCapabilities at 4
-GetPwrDiskSpindownRange at 8
-IsAdminOverrideActive at 4
-IsPwrHibernateAllowed at 0
-IsPwrShutdownAllowed at 0
-IsPwrSuspendAllowed at 0
-;LoadCurrentPwrScheme
-;MergeLegacyPwrScheme
-ReadGlobalPwrPolicy at 4
-ReadProcessorPwrScheme at 8
-ReadPwrScheme at 8
-SetActivePwrScheme at 12
-SetSuspendState at 12
-ValidatePowerPolicies at 8
-WriteGlobalPwrPolicy at 4
-WriteProcessorPwrScheme at 8
-WritePwrScheme at 16




More information about the Ros-diffs mailing list