Commit Graph

34 Commits

Author SHA1 Message Date
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex a6443d07c0 Remove global PhSystemDpi, PhSmallIconSize, PhLargeIconSize
Eliminate the main-window-DPI globals that bleed across dialogs on
secondary monitors. Window-aware code now passes its own DPI:

- Delete PhSystemDpi, PhSmallIconSize, PhLargeIconSize and
  PhGuiSupportUpdateSystemMetrics; remove the mainwnd.c invocation
  on WM_DPICHANGED.
- PhGetApplicationIcon and PhGetStockApplicationIcon now require a
  WindowDpi parameter; PhGetApplicationIconEx is folded into
  PhGetApplicationIcon. PhGetStockApplicationIcon keeps the shared
  icon contract via a 4-slot DPI-keyed cache so multiple monitors
  coexist without thrash.
- All ~50 callers updated to source DPI from their owning window
  (PhGetWindowDpi for hwnd-bearing call sites; PhGetTaskbarDpi for
  the tray icon; PhGetSystemDpi for window-class registration and
  parentless task dialogs).
- PhSetApplicationWindowIcon now thin-wraps PhSetApplicationWindowIconEx
  with PhGetWindowDpi(hwnd), so the 63 legacy call sites get
  per-window-DPI icons without per-site edits.
- srvprv.c and mainwnd.c read PhProcessImageListWindowDpi instead
  of PhSystemDpi/PhSmallIconSize.X for service and process icons.
2026-04-26 22:49:05 +10:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex e1a379072d Update settings 2025-12-26 23:46:28 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
Johnny Shaw 02a1c80f9a memlists commands task dialog relative parent 2025-07-18 21:19:27 -06:00
Johnny Shaw f58e116e1c memlists commands task dialog 2025-07-18 20:06:06 -06:00
Johnny Shaw e3a775fba7 fix PhShowMemoryListCommand from breaking commit ac2ed17 2025-06-16 16:22:21 -06:00
dmex 6317244ea6 Restructured common code 2025-05-07 08:29:22 +10:00
dmex ac2ed17cff Add initial cmake support and fix compatibility issues 2025-02-28 12:18:01 +11:00
dmex 451eb95469 Update to latest SDK, Update status messages 2024-12-13 12:27:15 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex 1375429a90 Update to latest SDK 2024-06-23 05:49:26 +10:00
dmex 54530715e0 Update PHSDK 2024-04-05 10:27:08 +11:00
Johnny Shaw 1e225d287d memlists empty all 2024-03-30 23:45:42 -06:00
dmex 870a671c19 Add PhLoadCursor, PhSetCursor, PhLoadArrowCursor, PhLoadDividerCursor 2023-05-23 22:38:15 +10:00
dmex 03c59d266e Remove whitespace 2023-04-26 10:27:13 +10:00
dmex 10a18c058e Update SAL annotations 2023-04-14 20:04:22 +10:00
Johnny Shaw a1ab0312eb improve kph error messaging 2023-03-20 17:55:21 -06:00
dmex 1bd4e06f0d Add PhShowKsiUnsupportedError 2023-03-21 08:21:21 +11:00
dmex dd08dd3e4a Add empty registry cache option 2023-02-27 17:03:46 +11:00
Johnny Shaw 3721b81578 move intsafe from include hierarchy 2023-01-07 12:41:06 -07:00
dmex 0748d61adc Update memory list menu text 2022-12-04 10:38:08 +11:00
dmex 6dcc1fa3be Show empty button on memory sysinfo window 2022-11-22 12:36:27 +11:00
dmex 4725b7c452 Add 'Empty system file cache' menu to memory list window 2022-11-22 12:06:51 +11:00
dmex e6365092ab Export PhAdjustPrivilege 2022-11-22 11:02:31 +11:00
Johnny Shaw 9dfbc698cf system control and empty working set (#1427) 2022-10-17 00:26:57 -06:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
Johnny Shaw f7a04113d4 driver work (#1320) 2022-08-06 21:49:05 -06:00
dmex 82d5c7342a Add PhGetProcedureAddressRemoteStringRef 2022-07-30 13:45:37 +10:00
dmex d06941823b Update memlists.c 2022-07-27 12:02:08 +10:00
dmex 0dd115830a Add PhGetSystemCompressionStoreInformation 2022-07-27 11:53:39 +10:00
dmex 345379b8c7 Add empty compression working sets menu 2022-07-27 05:34:11 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00