Introduce an asynchronous handle query pipeline and UI improvements for handle resolution. Added query data structures and a stage-1 worker (PhpHandleQueryStage1Worker), a SLIST-based QueryListHead on providers, queueing (PhpQueueHandleQueryStage1), flushing/clearing (PhpFlushHandleQueryData / PhpClearHandleQueryData) and helpers to fill/cleanup results. Handle items gain NameResolved and JustProcessed fields; names/type info and file-sharing flags are resolved asynchronously and applied without blocking the main enumeration.
UI: show "Resolving...." for name cells while resolution is pending and only hide "unnamed" handles when NameResolved is true. Added a new menu item to toggle handle snapshots. Also clear various cached string refs when updating handle nodes.
Other changes: replaced type-name sort with a numeric compare on TypeIndex, refactored hashset add/remove/reference helpers (PhpLookupHandleItem, PhpAddHandleItem, PhpRemoveHandleItem, PhReferenceHandleItem), and wired queuing of stage-1 queries after new handle detection. These changes improve responsiveness and avoid long synchronous queries during handle enumeration.
pass &fullyInvalidated into PH_TICK_SH_STATE_TN instead of NULL. This ensures tree rebuilds for non-default sort orders correctly signal a full invalidation for state/highlighting updates.
* objmgr cleanup and improvements
* fix build
* Fix handle list "File share access"
- Handle attributes search support. ColorPartiallySuspended for both Protected and Inherit handles.
- Fix options saving from Advanced page.
* fix section resolving
* Add "Object address" column (showed only when driver on)
* Fix access violations on spamming refresh button
* removed driver changes
* EtObjectEntryType and improving of resolver allocations
* remove dead code
* finally fix resolver w/o allocations
* Improve PhUiCloseHandles for protected handles
- memsrcht show memory editor on double click, F5 - refresh.
* use EtObjectManagerOpenHandle for enum directories
* fix imports
* Menu "Handles" added (quick open of Handles tab)
- Better organize of menu with separators
* removed handle use count code
* directory open cleanup
* improve navigation to complex symlinks
* Show volume letter in SymLink target
- Example: \\Device\\HarddiskVolume4 (C:)
- Menu - "Show drive volume" for this cases.
- [Resolver] Show Type info in target column in format: Index: <n>, Objects: <m>, Handles: <k>
- Improve navigation to symlinks.
* fix Ctrl+K (search box) handling
- tree view didn't pass keypresses to parent window so it was not
possible to handle the keyboard combo
- some plugins didn't handle Ctrl+K at all
Fixes#2241
* treenew handle Ctrl+A in common code
* searchbox pressing escape will abandon search
Current search is abandoned and focus is returned to window that
previously had it, instead of closing whole dialog.
* fixup! searchbox pressing escape will abandon search
* Update SystemInformer/searchbox.c
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
* Update SystemInformer/searchbox.c
---------
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>