mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTUSER] Return the correct value for SPI_GETLOWPOWERACTIVE (#9135)
This commit is contained in:
@@ -1442,7 +1442,7 @@ SpiGetSet(UINT uiAction, UINT uiParam, PVOID pvParam, FLONG fl)
|
||||
return SpiSetInt(&gspv.iPwrOffTimeout, uiParam, KEY_DESKTOP, L"PowerOffTimeOut", fl);
|
||||
|
||||
case SPI_GETLOWPOWERACTIVE:
|
||||
return SpiGetInt(pvParam, &gspv.iPwrOffTimeout, fl);
|
||||
return SpiGetInt(pvParam, &gspv.bLowPwrActive, fl);
|
||||
|
||||
case SPI_GETPOWEROFFACTIVE:
|
||||
return SpiGetInt(pvParam, &gspv.bPwrOffActive, fl);
|
||||
|
||||
Reference in New Issue
Block a user