* powrprof.h (DevicePowerSetDeviceState): Fix the SetData argument as LPCVOID. git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3488 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog index ef760bf..e48439f 100644 --- a/mingw-w64-headers/include/ChangeLog +++ b/mingw-w64-headers/include/ChangeLog
@@ -1,5 +1,8 @@ 2010-09-04 Ozkan Sezer <sezeroz@gmail.com> + * powrprof.h (DevicePowerSetDeviceState): Fix the SetData argument + as LPCVOID. + http://msdn.microsoft.com/en-us/library/cc248871(PROT.10).aspx http://msdn.microsoft.com/en-us/library/bb736370(VS.85).aspx * wtsapi32.h (USERNAME_LENGTH): Define as 20.
diff --git a/mingw-w64-headers/include/powrprof.h b/mingw-w64-headers/include/powrprof.h index e1c4c2f..7807953 100644 --- a/mingw-w64-headers/include/powrprof.h +++ b/mingw-w64-headers/include/powrprof.h
@@ -172,7 +172,7 @@ DWORD WINAPI DevicePowerSetDeviceState( LPCWSTR DeviceDescription, ULONG SetFlags, - PCVOID SetData + LPCVOID SetData ); DWORD WINAPI PowerCanRestoreIndividualDefaultPowerScheme(