[Bug 51741] New: Nt*PowerRequest syscalls do not exist on real Windows

WineHQ Bugzilla wine-bugs at winehq.org
Fri Sep 10 15:32:57 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51741

            Bug ID: 51741
           Summary: Nt*PowerRequest syscalls do not exist on real Windows
           Product: Wine
           Version: 4.13
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: cdavis5x at gmail.com
      Distribution: ---

In ca2b7012496c4a97d7c03bc34b388592fd1157f5, I added stub system calls
corresponding to the kernel32 power request API. These syscalls do not exist on
real Windows. Based on my reading of the headers, what we need to use instead
is NtPowerInformation() with the selectors 'PowerRequestCreate' and
'PowerRequestAction'.

However, I have no idea what the I/O structs for those functions look like.
Before this can be fixed, we'll need to get the definitions of these structures
somehow.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list