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@winehq.org Reporter: cdavis5x@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.