Implemented the following functions with a bit of a hack:
PowerGetActiveScheme
PowerSetActiveScheme
PowerEnumerate
PowerReadFriendlyName
--
v2: powrprof.dll: fix CI compile issues
https://gitlab.winehq.org/wine/wine/-/merge_requests/7667
..and improve performance and precision of parse_numeric_literal() for doubles, and replace artificial (INT_MAX/100) border conditions with the true +/- 308
10^308 is the largest representable power of 10 in double
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7591
`WS_POPUP` for instance is `0x80000000`, which overflows a `LONG`. Coverity complained about this. The return type of `get_window_long()` already was `DWORD`.
--
v5: win32u: Store window styles in a DWORD (Coverity).
https://gitlab.winehq.org/wine/wine/-/merge_requests/7657
`WS_POPUP` for instance is `0x80000000`, which overflows a `LONG`. Coverity complained about this. The return type of `get_window_long()` already was `DWORD`.
--
v4: win32u: Store window styles in a UINT (Coverity).
https://gitlab.winehq.org/wine/wine/-/merge_requests/7657