Commit Graph

2450 Commits

Author SHA1 Message Date
dmex d4c5fa793a Add PhValidSecurityDescriptor 2026-05-10 14:39:10 +10:00
dmex a41207921d Update phnative.h 2026-05-09 16:31:03 +10:00
dmex 251cd35c41 Add PhGetSystemDpiForProcess and DPI defaults 2026-05-09 16:27:06 +10:00
dmex 484960305c Replace WinStation with nativesession.c 2026-05-09 14:55:08 +10:00
dmex 155a1ea7ec Add dynamic import for SetCoalescableTimer 2026-05-09 14:52:39 +10:00
dmex be22f57f39 Add Alt-to-NT separators 2026-05-07 03:52:35 +10:00
dmex f7fb8a3657 Update guisup.h 2026-05-05 23:02:36 +10:00
dmex 607815f5a5 Add SAL annotations for PhGetLastError 2026-05-05 21:49:40 +10:00
dmex b4f29c6ed9 Add WinStation session wrappers 2026-05-05 21:37:44 +10:00
dmex aa965164a2 Add PhEnableHighResolution and rename setting 2026-05-05 21:36:06 +10:00
dmex d815832155 Update secwmi.h 2026-05-05 20:41:39 +10:00
dmex 7adde6c40f Use object-type enum for handle name resolution
Introduce a mapping from object type indices to PH_HANDLE_OBJECT_TYPE and lazy-initialize it (PhEnsureHandleObjectTypeTable). Add helpers PhGetHandleObjectType, PhIsObjectTypeIndex and PhGetObjectTypeNameEx. Refactor PhpGetBestObjectName to switch on the enum instead of doing repeated string comparisons, simplify per-type name resolution and update many type-specific query/duplication paths. Adjust PhGetObjectBasicInformation pointer/handle count corrections to account for Windows version differences, and update PhGetHandleInformationEx to accept/use ObjectTypeNumber for more reliable decisions when fetching names.
2026-05-05 20:41:05 +10:00
dmex 6a11529cc1 Refactor DPI/scalable settings and add MI support 2026-05-05 20:32:46 +10:00
dmex d565127f37 Fix variable name for defaulted SACL in PhGetSaclSecurityDescriptor 2026-05-04 19:12:05 +00:00
dmex 3b7646f0d1 Improve DACL and SACL handling 2026-05-04 18:58:13 +00:00
dmex ed3d774ba7 Improve security descriptor and ACL handling 2026-05-05 02:00:59 +10:00
dmex a9063a99d8 Update FNV-1a 32-bit hash and constants required by RFC 9923 2026-05-05 01:58:38 +10:00
dmex 77af5d2554 Update PhGetLoaderEntryPcToFileHeader SAL annotations and missing imports on Windows 7 2026-05-03 07:16:14 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10:00
dmex 4caaec5412 Update apiimport.h 2026-04-27 00:25:04 +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 e1a10484ad Update verifyp.h 2026-04-26 06:20:39 +10:00
dmex 0f83f734dd Add enum flag helpers, font/DPI and API fixes 2026-04-23 07:37:06 +10:00
dmex 6c9a68740d Move runas package to separate file 2026-04-23 07:19:56 +10:00
dmex f79891bb29 Fix typos, add annotations, and correct release 2026-04-19 04:08:53 +10:00
dmex afadbd4cc6 Update graph.h 2026-04-19 01:22:58 +10:00
dmex 15e7859cc0 Add PH_RESTRICT, rename locals, and adjust defs
Apply PH_RESTRICT annotations to many pointer parameters and internal pointers to improve aliasing/optimization (string routines, graph drawing, hashing, comparison, copy functions)
2026-04-19 01:20:45 +10:00
dmex 85ef756701 Update apiimport.h 2026-04-19 00:07:24 +10:00
dmex 03dd05c18a Add CONST_VTABLE 2026-04-17 10:16:31 +10:00
dmex fd2df59851 Change KphSetServiceSecurity to return NTSTATUS 2026-04-17 10:02:37 +10:00
dmex dff6ad72e7 Add documentation 2026-04-17 10:00:46 +10:00
dmex fdf9bf14a0 Update guisupview.h 2026-04-15 13:47:40 +10:00
dmex e7ef2ef5af Update guisup.h 2026-04-15 13:44:44 +10:00
dmex b34a4b4d8d Add PH_RESTRICT 2026-04-15 13:42:00 +10:00
dmex 0428b61140 Update guisup.h 2026-04-13 16:05:22 +10:00
dmex 5990044b62 Add phnt.vcxitems, GUIDs and update IListView interfaces 2026-04-13 16:01:03 +10:00
dmex fa519d93be Adjust APIs and fix refcount in util 2026-04-13 12:49:24 +10:00
dmex e6558dcdf5 Update phnative.h 2026-04-13 03:31:52 +10:00
dmex a215315479 Update phnative.h 2026-04-13 03:30:12 +10:00
Johnny Shaw 2df5e68bad phlib nativefile fix sal 2026-04-11 22:22:52 -06:00
dmex 6c9368b54a Update SAL annotations 2026-04-12 10:54:21 +10:00
dmex 736945e66e add CONST qualifiers to static sort function arrays and use proper _CoreCrt* function-pointer types; 2026-04-10 16:01:36 +10:00
dmex 65f5032280 Update apiimport.h 2026-04-09 20:57:52 +10:00
dmex c415778b16 Add HighResolution flag to PhSetWaitableTimer 2026-04-09 20:57:41 +10:00
dmex 5083e2800f Update treenewp.h 2026-04-09 19:33:28 +10:00
dmex 5d4428adbf Add scroll anchoring to treenew
Introduce scroll-anchoring support to the treenew control: add explanatory comments and anchoring behavior. Define anchor-related macros and declare helper APIs (PhTnpGetMaxVScrollPosition, PhTnpFindFlatListNode, PhTnpPrepareVScrollAnchor, PhTnpGetAnchoredVScrollPosition) used to snapshot/restore viewport during structural updates to avoid visible jumps.
2026-04-09 16:14:05 +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
dmex 0f206b2bfd Update mapimg.h 2026-04-05 23:31:26 +10:00
dmex 076c6f1f0b Update phutil.h 2026-04-04 11:51:29 +11:00
dmex 419100148b Document rundown and init helper APIs 2026-04-04 03:20:52 +11:00