Commit Graph

91 Commits

Author SHA1 Message Date
dmex 5113d3ce73 Avoid exceptions from service helpers and add group index
Switch service buffer allocations in `phlib/svcsup.c` to `PhAllocateSafe`/`PhAllocateZeroSafe` with explicit `STATUS_NO_MEMORY` handling to avoid exception-based failures. Add `PhGetServiceGroupOrderIndex` to resolve a service’s load-order group index from `HKLM\...\ServiceGroupOrder\List` with proper REG_MULTI_SZ validation. Also update `PhWaitForServiceStatus` to use `PhQueryWaitTime`, compute a fixed deadline, and compare wait hints in consistent timeout units.
2026-09-25 05:34:19 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
mozhucy 0d2893cc89 Handle null service config path names (#2853) 2026-03-20 16:55:51 +11:00
dmex 7565b445b8 Add PhGetDllProcedureAddressZ 2026-02-21 02:37:48 +11:00
dmex aaf729b566 Add PhGetServiceGroupName, PhGetSvchostGroup, PhGetSvchostGroupPolicy 2026-02-01 00:11:21 +11:00
dmex f579afa01a Add PhGetServiceUserFlags 2026-01-31 19:06:30 +11:00
dmex 8ffcf7f1ab Update svcsup.c 2025-12-31 09:26:16 +11:00
dmex a77ea98700 Update service wrappers 2025-12-31 03:20:57 +11:00
dmex 6559c17889 Update comments 2025-12-22 06:36:44 +11:00
dmex bd9effd7b0 Update documentation and types 2025-12-12 19:42:59 +11:00
dmex f6224b9615 Update comments, Update SAL annotations, Fix typos and memory leak 2025-12-06 08:22:09 +11:00
dmex 177140630f Improve service wait hint 2025-11-17 22:50:17 +11:00
dmex 8dfb01aecb Add PhReadVirtualMemory and PhInitializeRemoteMappedImage 2025-09-20 08:52:00 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 5b49fa0994 Fix open file location for service DLL types #2563 2025-05-22 04:35:46 +10:00
dmex fc23fb5a95 Add filename callback #3478 (32726691d) 2025-04-03 06:12:12 +11:00
dmex 24198694fd Add PhWaitForServiceStatus, Add phsvc service restart (#2445) 2025-03-11 06:11:03 +11:00
dmex ac2ed17cff Add initial cmake support and fix compatibility issues 2025-02-28 12:18:01 +11:00
Johnny Shaw 2acfa082ab rename PPCH_ to PCPH_ to conform to convention 2025-01-18 17:08:26 -07:00
dmex 2a14658294 Fix service index for PhIndexStringRefSiKeyValuePairs regression from 0424133b 2025-01-18 21:33:08 +11:00
dmex 0424133b79 Add PPCH_STRINGREF 2025-01-14 16:24:39 +11:00
dmex c29f58b4f7 Tidy up 2024-11-30 05:43:19 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex c87d3e67bc Update to latest SDK 2024-09-22 12:58:26 +10:00
dmex f26ebef6d3 Update types 2024-09-06 20:24:02 +10:00
dmex 54530715e0 Update PHSDK 2024-04-05 10:27:08 +11:00
dmex 8d4a5b0b5e Add minimum version 2023-10-01 08:43:49 +11:00
dmex 14ec6d1a7f Add SID and SREF types 2023-09-20 01:47:21 +10:00
dmex adbd23dc44 Update svcsup (#1843) 2023-09-06 09:01:57 +10:00
dmex 6116cb1776 Add PhContinueService, PhPauseService, PhStopService 2023-08-07 14:30:51 +10:00
dmex ebafd5c210 Add PhCreateService, PhDeleteService, PhStartService 2023-08-07 11:30:40 +10:00
dmex 449dfca40e Update types to PH_STRINGREF 2023-08-07 11:22:18 +10:00
dmex 9895cfeb0b Update import module for I_QueryTagInformation 2023-06-10 10:14:02 +10:00
dmex ca78f64a97 Remove unused references 2023-03-31 16:50:38 +11:00
dmex 82c3f8dfb1 Add PhGetServiceAppUserModelId and PhGetServicePackageFullName 2023-03-01 20:04:59 +11:00
dmex fb8cbadec3 Update PHSDK 2023-02-28 09:44:14 +11:00
dmex 711b833ff7 Update headers references for mapldr.h 2023-02-10 02:04:40 +11:00
dmex ddfcc8b742 Add PhCloseServiceHandle 2022-12-29 14:20:28 +11:00
dmex 6045a14372 Add PhGetServiceHandleFileName 2022-08-07 23:52:04 +10:00
dmex 4389a815e2 Add PhGetServiceKeyName 2022-08-07 23:49:19 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex 82aae0a28d Fix PhGetThreadServiceTag regression on Windows 8.1 2022-03-23 17:24:32 +11:00
dmex 45cb485d4f Sync many performance improves, latest changes and bug fixes (#1021)
* Add Win11 support for KPH and Win11 types for PHNT.
* Add support for X65599 hashes improving performance by 70% in most cases.
* Add support for highlighting protected system processes.
* Add support for showing Bound connections on the network tab.
* Add support for processor energy statistics (can be enabled via options window).
* Add support for freeze/unfreeze processes on Win11 via process context menu.
* Add support for showing COM thread apartment via process threads window.
* Reduces memory and improves performance for querying process command lines and filenames.
* Improves performance for querying performance counters.
* Improves performance for graph controls.
* Fixes wcslen performance regression improving performance by 90% in most cases.
* Fixes graph tooltips not being being hidden when mouse leaves window.
* Fixes issues with tray icons when explorer.exe has crashed or deadlocked.
* Fixes main window not getting focused in some cases.
* Fixes eventlog message about realtime trace listeners for some users.
* Fixes UserNotes database lookups when no entries improving runtime performance.
* Fixes UTF8 image export names.
* Fixes extra main window padding added by tab control.
* Plus many other minor changes and fixes.
2021-10-31 21:05:41 +11:00
dmex f1c09d152d Improve service search/list performance 9a30a74d0 (Fixes #989) 2021-09-12 02:48:10 +10:00
dmex 9a30a74d02 Improve service search/list performance 2021-09-02 10:26:32 +10:00
dmex b7aa04f3db Fix SAL annotation for PhOpenServiceEx 2021-08-12 00:05:20 +10:00
dmex 1b20296be8 Fix locating ServiceDll for some services on Windows 8 2021-04-07 02:51:33 +10:00
dmex 173012fe49 Update svcsup.c 2020-09-13 10:44:00 +10:00
dmex f720c247b2 Add package service support #681 2020-09-12 00:12:01 +10:00
dmex 8a94489cf6 Update UTF16 chars, Update solutions, Fix SAL warnings 2020-03-22 14:13:40 +10:00