Commit Graph

45 Commits

Author SHA1 Message Date
dmex 8d685d1a2c Add PhGetWindowUniqueId 2026-07-25 12:12:57 +10:00
dmex 7a75ed1cce Update appsup.h 2026-07-12 06:40:47 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +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 fe00113a15 Rename release channel APIs to Build variant 2026-04-08 09:27:44 +10:00
dmex 8aa6a340e2 Add new native API declarations (process IO/VM counters, basic process enumeration helpers, mutant/event APIs) to phnative.h, Rename build version APIs and add native APIs 2026-04-08 05:27:21 +10:00
Johnny Shaw 6a75d7ff1c appsup fix build 2026-04-01 20:37:25 -06:00
dmex 34016e27d9 Apply SAL annotations fixes and add annotations 2026-04-01 12:11:37 +11:00
dmex bad5e393b5 Add PhGetPhVersionDateTime 2026-03-31 12:49:56 +11:00
dmex d2cfd7f1fb Add listview wrappers and workaround sync issues 2026-01-14 05:51:11 +11:00
dmex f5f5e53b8c Move PhGetProcessDefaultHeap to appsup 2025-09-22 19:29:52 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
Johnny Shaw c130e283f3 consolidate build products 2025-05-09 21:09:41 -06:00
Johnny Shaw fa3e9a4a26 tidy up ksi status 2025-03-14 22:29:27 -06:00
dmex 4e687a4d4a Add PhQueryKphCounters 2025-03-13 21:14:14 +11:00
dmex 0affd41233 Update PPH_STRINGREF to PCPH_STRINGREF 2025-02-25 17:24:27 +11:00
dmex 778c94230e Update ListViewClass methods 2024-12-01 08:32:02 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex 695da67e93 Add revision 2024-06-08 21:58:46 +10:00
dmex 4fc3979b75 Update ShellExecute return status 2024-04-05 06:24:33 +11:00
dmex bfed61f9a3 Update typedefs 2023-11-22 08:36:29 +11:00
dmex adbd23dc44 Update svcsup (#1843) 2023-09-06 09:01:57 +10:00
dmex f57de03aea Update SAL annotations 2023-07-09 00:25:40 +10:00
dmex be9d8e4ce1 Export 2023-07-06 02:44:55 +10:00
dmex d0decbd64b Update GUID types to const enabling optimization 2023-06-21 09:53:20 +10:00
dmex 38b0c8a4d9 Update plugin callback annotations and types 2023-06-05 10:44:40 +10:00
dmex d0d59ded53 Export PhGetShieldBitmap 2023-05-31 06:50:16 +10:00
dmex 179e4deddb Fix shield bitmap DPI awareness #1386 2023-05-26 18:25:41 +10:00
dmex 21f92d3b4b Add PhWordMatchStringLongHintZ 2023-03-21 15:31:14 +11:00
dmex 161d5aba8f Update PhGetProcessPriorityClassString and move to appsup 2023-03-21 15:27:06 +11:00
dmex fbadbf48a7 Move PhWordMatchStringZ to inline 2023-03-09 02:56:37 +11:00
dmex 98489bed43 Add icon cleanup 2023-03-07 08:56:39 +11:00
dmex 60811ca19c Add PhGetApplicationIconEx and PhSetApplicationWindowIconEx 2023-03-07 00:54:40 +11:00
dmex badb22dcac Add missing copyright and remove duplicate function 2023-02-21 07:34:41 +11:00
dmex 5f10c81276 Add support for extra propsheet messages and cleanup in NCDESTROY 2023-02-21 07:27:13 +11:00
dmex 21cc9c0113 Export PhShellOpenKey2 2023-01-31 07:13:47 +11:00
dmex 785ba3a205 Move PhShellOpenKey to appsup.c 2023-01-31 07:12:09 +11:00
dmex f3d6f46b28 Remove legacy EdgeProcessType 2022-12-21 11:59:20 +11:00
dmex 4afd300d3a Add PhCreateKsiSettingsBlob 2022-11-11 10:23:27 +11:00
henrypp 5744c9cba4 Per Monitor V2 DPI aware support (thanks to henrypp!) (#1347) 2022-09-16 00:08:12 +10:00
dmex 5a5a097639 Remove -settings command line parameter 2022-09-14 14:47:18 +10:00
dmex 4a775f8896 Move PhCreateAdminTask from appsup.c to admintask.c 2022-07-29 01:32:22 +10:00
dmex 2f0651ece6 Update solution (#1306)
* Fix MSVC incorrectly loading symbols for non-executable images loaded on Windows 7
* Add PhCopyFileWin32
* Add PhGetApplicationDirectoryFileNameWin32
* Add PhGetKernelDriverSystemStart
* Add PhGetTemporaryDirectoryRandomAlphaFileName
* Update branding, guids and strings
* Improve temporary filename generation
* BuildTools: Fix Windows SDK detection #1305
* UserNotes: Add support for saving process boost priority #1244
* Add plugin support for subclassing priority boost menu
* Fix changing process affinity on Windows 7 #1299
* ExtendedTools: Add WDDM 3.1 versioning, Fix GPU graph values sometimes not matching Taskmgr
* WindowExplorer: Move dpi context value, Fix missing window icons
* Fix clang builds
* BuildTools: Fix Windows SDK detection #1305
2022-07-17 13:01:56 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00