[ros-diffs] [hpoussin] 22581: Fix prototype of WritePwrScheme. Prototypes shouldn't have LPTSTR in their parameter list!

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sat Jun 24 20:47:50 CEST 2006


Author: hpoussin
Date: Sat Jun 24 22:47:50 2006
New Revision: 22581

URL: http://svn.reactos.org/svn/reactos?rev=22581&view=rev
Log:
Fix prototype of WritePwrScheme. Prototypes shouldn't have LPTSTR in their parameter list!

Modified:
    trunk/reactos/include/powrprof.h

Modified: trunk/reactos/include/powrprof.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/powrprof.h?rev=22581&r1=22580&r2=22581&view=diff
==============================================================================
--- trunk/reactos/include/powrprof.h (original)
+++ trunk/reactos/include/powrprof.h Sat Jun 24 22:47:50 2006
@@ -90,7 +90,7 @@
    USER_POWER_POLICY user;
    MACHINE_POWER_POLICY mach;
 } POWER_POLICY, *PPOWER_POLICY;
-typedef BOOLEAN (CALLBACK* PWRSCHEMESENUMPROC)(UINT, DWORD, LPTSTR, DWORD, LPTSTR, PPOWER_POLICY, LPARAM);
+typedef BOOLEAN (CALLBACK* PWRSCHEMESENUMPROC)(UINT, DWORD, LPWSTR, DWORD, LPWSTR, PPOWER_POLICY, LPARAM);
 typedef BOOLEAN (CALLBACK* PFNNTINITIATEPWRACTION)(POWER_ACTION, SYSTEM_POWER_STATE, ULONG, BOOLEAN);
 NTSTATUS WINAPI CallNtPowerInformation(POWER_INFORMATION_LEVEL, PVOID, ULONG, PVOID, ULONG);
 BOOLEAN WINAPI CanUserWritePwrScheme(VOID);
@@ -112,7 +112,7 @@
 BOOLEAN WINAPI WriteGlobalPwrPolicy(PGLOBAL_POWER_POLICY);
 BOOLEAN WINAPI WriteProcessorPwrScheme(UINT, PMACHINE_PROCESSOR_POWER_POLICY);
 BOOLEAN WINAPI ValidatePowerPolicies(PGLOBAL_POWER_POLICY, PPOWER_POLICY);
-BOOLEAN WINAPI WritePwrScheme(PUINT, LPTSTR, LPTSTR, PPOWER_POLICY);
+BOOLEAN WINAPI WritePwrScheme(PUINT, LPWSTR, LPWSTR, PPOWER_POLICY);
 
 #endif /* RC_INVOKED */
 




More information about the Ros-diffs mailing list