Modify

Opened 2 years ago

Closed 2 years ago

#3988 closed Bug (Completed)

_WinAPI_GetSystemPowerStatus does not provide full stats on Win 10

Reported by: Nine Owned by: J-Paul Mesnage
Milestone: 3.3.17.0 Component: AutoIt
Version: 3.3.16.1 Severity: None
Keywords: Cc:

Description

Starting from Win10, the forth byte of the structure returned by GetSystemPowerStatus function is now use to detect SystemStatusFlag (0 / 1).

See : https://learn.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-system_power_status

Array returned from _WinAPI_GetSystemPowerStatus should be adjusted accordingly.

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 2 years ago

Milestone: 3.3.17.0
Owner: set to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [13028] in version: 3.3.17.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.