Commit Graph

129 Commits

Author SHA1 Message Date
dmex 6118164962 Add process action progress dialogs
Refactor the service-only progress dialog into a generic action progress dialog that can format names and rerun actions through phsvc for different item types. Use it for process terminate, suspend, and resume tree operations when the process progress dialog setting is enabled, including recursive descendant collection and self-action safeguards.
2026-09-25 15:43:32 +10:00
dmex efa63c8e5d Theme, secedit, and misc fixes 2026-07-05 12:04:49 +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 25ea8f6bba Track service progress results and add Retry 2026-06-01 08:18:34 +10:00
dmex faa71c5db7 Add documentation 2026-05-28 16:32:47 +10:00
dmex decd0c9e93 Add nativesession.c to the phlib VS project 2026-05-09 15:32:06 +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 6ecc993e09 Add support for handle attributes without the kernel driver 2026-04-26 14:11:55 +10:00
dmex ce3049e563 Avoid showing error when operation cancelled
Skip calling PhpShowErrorService when the user has cancelled the operation. Add checks for the `cancelled` flag in PhUiStopService and PhUiDeleteService (SystemInformer/actions.c) to prevent error dialogs from being shown after a user-initiated cancellation.
2026-04-13 16:44:05 +10:00
dmex 35ada03a36 Add freeze/thaw thread menu 2026-04-12 11:13:39 +10:00
dmex f84c35315d Use HRESULT macros to check Win32 errors
Replace manual bitmasking of the HRESULT with HRESULT_FACILITY() and HRESULT_SEVERITY() . This makes the Win32 error check clearer and uses standard macros for determining FACILITY_WIN32 and SEVERITY_ERROR while preserving the original behavior.
2026-04-03 23:27:30 +11:00
dmex 06f5e1723e Change PhpStartPhSvcProcess to return NTSTATUS 2026-03-31 12:21:27 +11:00
dmex 18d8a07d4c Update actions.c 2026-03-25 01:45:35 +11:00
dmex 7565b445b8 Add PhGetDllProcedureAddressZ 2026-02-21 02:37:48 +11:00
dmex 1198e32d8a Fix PhUiDebugProcess window position 2026-01-31 18:52:42 +11:00
dmex b730f75fc3 Update debug menu with new UI for debugger selection 2026-01-17 05:53:57 +11:00
dmex 20f88a8c20 Update actions.c 2026-01-16 10:48:28 +11:00
dmex cb8e5f11b6 Update arguments to pointers 2026-01-04 07:15:39 +11:00
dmex e1a379072d Update settings 2025-12-26 23:46:28 +11:00
dmex f6224b9615 Update comments, Update SAL annotations, Fix typos and memory leak 2025-12-06 08:22:09 +11:00
dmex a0681609c2 Fix typo, Improve error handling for long path support on Windows 10 2025-11-17 21:24:03 +11:00
dmex 5a215a872c Update settings 2025-09-22 20:30:11 +10:00
dmex d5ae79b5c8 Move PhSetTcpEntryh extern (Fix cmake build) 2025-09-06 19:28:57 +00:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 6c20c78fb6 Merge minor fixes from dev branch 2025-08-20 11:54:19 +00:00
Johnny Shaw 0fa1b4e2ce improve thread priority columns and handling 2025-07-21 00:20:20 -06:00
dmex 5a99e2909e Add PhUiSetEmptyWorkingSetProcesses 2025-06-28 15:16:53 +10:00
dmex 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +10:00
dmex 95ab29e200 Update SAL Annotations and Fix typos 2025-05-15 13:12:48 +10:00
dmex 8f02da7729 Update SAL Annotations 2025-05-15 01:10:28 +10:00
dmex 6317244ea6 Restructured common code 2025-05-07 08:29:22 +10:00
dmex 076fafb4a6 Silence service start warning #2464 2025-05-01 10:13:32 +10:00
dmex 7b0320de00 Make strings CONST 2025-04-20 08:44:08 +10:00
dmex 24198694fd Add PhWaitForServiceStatus, Add phsvc service restart (#2445) 2025-03-11 06:11:03 +11:00
dmex 194661cb62 Update to the latest SDK 2025-03-11 06:06:55 +11:00
dmex ac2ed17cff Add initial cmake support and fix compatibility issues 2025-02-28 12:18:01 +11:00
dmex 9c2fd8c925 Fix service progress prompt for elevation when already elevated 2025-02-25 17:30:04 +11:00
dmex c02368ab46 Fix service progress window topmost #200 2025-02-13 08:01:03 +11:00
dmex f29f2c9c50 Add PhUiSetActivityModeration 2025-02-12 18:15:49 +11:00
dmex 65da47a0ea Update actions.c 2025-02-12 18:15:49 +11:00
dmex 5e7857d41c Add confirmation dialog for execution required state changes 2025-02-12 18:15:48 +11:00
dmex ace3e99c35 Add IsFrozenProcess 2025-01-24 01:49:56 +11:00
dmex fafb8cf6a7 Add PhIsTerminalServerSystemProcess 2025-01-24 01:47:18 +11:00
dmex 63674a6623 Update error message format 2025-01-24 01:37:22 +11:00
dmex 653e426ed1 Update actions.c 2025-01-18 17:08:11 +11:00
dmex e75ef71a5e Fix service progress status text 2025-01-16 09:12:08 +11:00
dmex 0424133b79 Add PPCH_STRINGREF 2025-01-14 16:24:39 +11:00
dmex fc420be32b Update to latest SDK 2024-12-28 14:07:01 +11:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00