mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
add Wine's powrprof to build
svn path=/trunk/; revision=22258
This commit is contained in:
parent
9c696e1c9e
commit
f0bb911d21
7 changed files with 414 additions and 344 deletions
|
@ -62,6 +62,7 @@
|
||||||
<property name="BASEADDRESS_ICMP" value="0x741F0000" />
|
<property name="BASEADDRESS_ICMP" value="0x741F0000" />
|
||||||
<property name="BASEADDRESS_USERENV" value="0x74850000" />
|
<property name="BASEADDRESS_USERENV" value="0x74850000" />
|
||||||
<property name="BASEADDRESS_SYSSETUP" value="0x74a30000" />
|
<property name="BASEADDRESS_SYSSETUP" value="0x74a30000" />
|
||||||
|
<property name="BASEADDRESS_POWRPROF" value="0x74ad0000" />
|
||||||
<property name="BASEADDRESS_OLEDLG" value="0x74d00000" />
|
<property name="BASEADDRESS_OLEDLG" value="0x74d00000" />
|
||||||
<property name="BASEADDRESS_SAMSRV" value="0x74f30000" />
|
<property name="BASEADDRESS_SAMSRV" value="0x74f30000" />
|
||||||
<property name="BASEADDRESS_SAMLIB" value="0x750C0000" />
|
<property name="BASEADDRESS_SAMLIB" value="0x750C0000" />
|
||||||
|
|
19
reactos/dll/win32/powrprof/powrprof.rbuild
Normal file
19
reactos/dll/win32/powrprof/powrprof.rbuild
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<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" />
|
||||||
|
<define name="__REACTOS__" />
|
||||||
|
<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>ntdll</library>
|
||||||
|
<library>rtl</library>
|
||||||
|
<library>kernel32</library>
|
||||||
|
<library>ntoskrnl</library>
|
||||||
|
<file>powrprof.c</file>
|
||||||
|
<file>powrprof.rc</file>
|
||||||
|
</module>
|
10
reactos/dll/win32/powrprof/powrprof.rc
Normal file
10
reactos/dll/win32/powrprof/powrprof.rc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/* $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>
|
36
reactos/dll/win32/powrprof/powrprof_gcc.def
Normal file
36
reactos/dll/win32/powrprof/powrprof_gcc.def
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
|
||||||
|
; $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
|
|
@ -160,6 +160,9 @@
|
||||||
<directory name="opengl32">
|
<directory name="opengl32">
|
||||||
<xi:include href="opengl32/opengl32.rbuild" />
|
<xi:include href="opengl32/opengl32.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="powrprof">
|
||||||
|
<xi:include href="powrprof/powrprof.rbuild" />
|
||||||
|
</directory>
|
||||||
<directory name="psapi">
|
<directory name="psapi">
|
||||||
<xi:include href="psapi/psapi.rbuild" />
|
<xi:include href="psapi/psapi.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
|
@ -62,6 +62,7 @@ reactos/dll/win32/oleacc # Synced to Wine-0_9_10
|
||||||
reactos/dll/win32/oleaut32 # Synced to Wine-0_9_10
|
reactos/dll/win32/oleaut32 # Synced to Wine-0_9_10
|
||||||
reactos/dll/win32/oledlg # Synced to Wine-0_9_5
|
reactos/dll/win32/oledlg # Synced to Wine-0_9_5
|
||||||
reactos/dll/win32/olepro32 # Synced to Wine-0_9_10
|
reactos/dll/win32/olepro32 # Synced to Wine-0_9_10
|
||||||
|
reactos/dll/win32/powrprof # Synced to Wine-0_9_14
|
||||||
reactos/dll/win32/riched20 # Synced to Wine-0_9_5
|
reactos/dll/win32/riched20 # Synced to Wine-0_9_5
|
||||||
reactos/dll/win32/richedit # Synced to Wine-0_9_10
|
reactos/dll/win32/richedit # Synced to Wine-0_9_10
|
||||||
reactos/dll/win32/rpcrt4 # Synced to Wine-0_9_10
|
reactos/dll/win32/rpcrt4 # Synced to Wine-0_9_10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue