Modify

#3988 closed Bug (Completed)

_WinAPI_GetSystemPowerStatus does not provide full stats on Win 10

Reported by: Nine Owned by: Jpm
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.

Change History (1)

comment:1 Changed 18 months ago by Jpm

  • Milestone set to 3.3.17.0
  • Owner set to Jpm
  • Resolution set to Completed
  • Status changed from new to closed

Added by revision [13028] in version: 3.3.17.0

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.