Remove volatile qualifiers per project rules and use explicit acquire/release accessors for cross-thread reads and writes of the cancel flag, progress counters, result count, window handle and close-dialog flag. This follows the project convention of not using volatile in definitions.
Reuse ProcessItem->QueryHandle instead of opening and closing a separate process handle, so the dialog no longer owns the handle.
Fix context teardown ordering: unregister the symbol callback and remove the window context before the final dereference, which may free the context. Use acquire/release accesses for the Destroying flag.
Finalize all statements and close the database so the informer DB is treated as unavailable instead of running partially initialized.
Add sqlite3_finalize/sqlite3_close dynamic imports and PhpInformerCloseDatabase. Rename the misspelled PhpInfomerLoadSQLite to PhpInformerLoadSQLite.
Also remove the extra ProcessStartKey added in PhInformerGetProcessStartKeys for handle messages.
Skip ACEs for inactive logon sessions when updating desktop and window station DACLs, using LsaEnumerateLogonSessions. Grant access to the logon SID instead of the user SID, and treat GENERIC_ALL as already granted for window stations.
PhRunAsExecutionAlias now returns STATUS_NOT_IMPLEMENTED for aliases and STATUS_NOT_FOUND otherwise, so aliases are rejected instead of falling through. Always request PROCESS_QUERY_LIMITED_INFORMATION when opening the parent process.
Replace manual command line splitting and quoting in the run-as-interactive-user and TrustedInstaller paths with PhParseCommandLineFuzzy and PhQuoteCommandLine.
SystemInformer: move NSI/NETIO declarations, types and enums from netsup.c into new include/netsup.h (added to vcxproj and filters) prefixed macros/types to Ph*, and make helpers like PhNetioGetAddress, PhNsiDeviceIoControl and PhNsiFillRouteEntry public.
Convert ICMP, RPC connect, adapter order map and compartment scope APIs to return NTSTATUS with out parameters instead of last-error/NULL. Use RtlSIZETMult/RtlULongAdd for overflow checks, PhAllocateZeroSafe with NO_MEMORY handling, and RtlZeroMemory. Add NSI object security SDDL dump. Update netprv.h signatures: Bound TCP table functions now take only an output pointer.
CustomBuildTool: 7z archives now use 7-Zip (BCJ2 for x86/x64 PE images) when available, falling back to archiveint.dll libarchive (LZMA), then SharpCompress (LZMA). Minor cleanups in Utils.cs.
Drop the cached main window handle when the HWND is no longer valid or no longer belongs to the process, since HWNDs are recycled. The next query then picks up the new main window and clears the stale hung state.
Move the cancellation flag out of the bitfield and use acquire/release access when reading and writing it. Show the current progress percentage in the cancellation message.
Replace redundant PhOpenProcess calls in the process properties pages (general, job, threads, token) and run-as dialog with the process item's existing QueryHandle/IsHandleValid, referencing the item where needed. This avoids extra open/close cycles and failure paths.
Also tidy the general page: avoid leaking/auto-releasing the Win32 file name by using PhMoveReference/PhClearReference, disable the secondary open/inspect buttons (IDC_OPENFILENAME2/IDC_INSPECT2) alongside the primary ones, and always focus the permissions button initially.
Deregister the process wait before releasing the owner's reference, so the wait callback can no longer run against a context being deleted. The delete procedure now only asserts that the wait handle is already NULL.
Queued wait entries now hold their own reference, released when the flush processes them. The property sheet teardown also flushes the queue so no entries linger.
Improve DirectComposition menu cancellation and shadow behavior, apply suggested window bounds on DPI changes, and process queued main-thread invokes in order. Also centralize window-overlap detection, harden composition-attribute lookup, and register search filters only after the search box is created.