|
|
|
#1
|
||||
|
||||
|
FMXInno Update - [2023-Sep-12]
Code:
* Added new functions. * Disabled runtime integrity checks. * Fixed DirBrowse Edit. * Updated FCreate* functions. * Updated 'MinimizeWindowCustomAnimated' for ImageForms. * Updated 'XBass' (internal/external). * Updated 'ISArcEx' (internal/external). * Removed lzma2 algorithm and used the lowest compression level. - FinalSize(old): 2.86 MB - FinalSize(new): 3.41 MB Code:
{ PowerPlan ID }
const
USER_PP_POWER_SAVER = $0002;
USER_PP_BALANCED = $0004;
USER_PP_HIGH_PERFORMANCE = $0006;
USER_PP_ULTIMATE_PERFORMANCE = $0008;
USER_PP_UNKNOWN = $0001;
function wPowerPlanGetActivePlan: Byte;
function wPowerPlanExist(const PowerPlanID: Byte): Boolean;
function wPowerPlanSetOrCreate(const PowerPlanID: Byte): Boolean;
var
CurActivePowerPlanID: Byte;
Code:
function InitializeSetup(): Boolean;
begin
CurActivePowerPlanID := wPowerPlanGetActivePlan;
if (CurActivePowerPlanID = USER_PP_POWER_SAVER) or // Power saver
(CurActivePowerPlanID = USER_PP_BALANCED) or // Balanced
(CurActivePowerPlanID = USER_PP_UNKNOWN) then // Unknown (optional)
begin
if (not wPowerPlanSetOrCreate(USER_PP_HIGH_PERFORMANCE)) then // High performance
MsgBox('High performance powerplan error.', mbError, MB_OK);
end;
FMXInnoInit;
Result := True;
end;
procedure DeinitializeSetup();
begin
wPowerPlanSetOrCreate(CurActivePowerPlanID);
FMXInnoShutDown;
end;
----------------------------------------------------------------------------------------------------------------------- Quote:
'MinimizeWindowCustomAnimated' has been fixed for 'ImageForms'. ----------------------------------------------------------------------------------------------------------------------- Quote:
fixed. ----------------------------------------------------------------------------------------------------------------------- Quote:
1. 'ISArcEx' only calculates the current extraction speed for the current archive. 2. 'ISArcExReduceCalcAccuracy' has been updated. - procedure ISArcExReduceCalcAccuracy(Factor: Byte); - Factor: 1-5 (default = 1). . Last edited by BLACKFIRE69; 14-07-2024 at 02:05. |
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |