mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Autosyncing with Wine
svn path=/trunk/; revision=22832
This commit is contained in:
parent
238674ba55
commit
a40ef44f44
4 changed files with 27 additions and 54 deletions
|
@ -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>ntdll</library>
|
||||
<library>advapi32</library>
|
||||
<library>kernel32</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>ntdll</library>
|
||||
<file>powrprof.c</file>
|
||||
<file>powrprof.rc</file>
|
||||
<file>powrprof.spec</file>
|
||||
</module>
|
||||
|
|
|
@ -1,10 +0,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>
|
20
reactos/dll/win32/powrprof/powrprof.spec
Normal file
20
reactos/dll/win32/powrprof/powrprof.spec
Normal file
|
@ -0,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)
|
|
@ -1,36 +0,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
|
Loading…
Reference in a new issue