mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00:00
* [NTDLL_WINETEST] `test_query_process_debug_object_handle()`: one WINESYNC Cherry-pick WineTest part of: https://gitlab.winehq.org/wine/wine/-/commit/52d733b5c4876276d7a2dfc8d9a9bb72a853dfd0 server: Implement retrieving the debug object of a process. by: Alexandre Julliard <[email protected]> * [NTOS:PS] Fix `NtQueryInformationProcess(ProcessDebugObjectHandle)` Close the retrieved `DebugPort` on failure. Addendum to commit1e172203a(r55734). * [NTOS:PS] Optimize `NtQueryInformationProcess(ProcessWow64Information)` on 32-bit. No need to do the ExAcquire/ReleaseRundownProtection rigamarole since we aren't retrieving the `Process->Wow64Process` on 32-bit builds. Addendum to commit1e172203a(r55734). * [NTOS:PS] Fix `NtQueryInformationProcess(ProcessExecuteFlags)` s/return/break/ on a failure case. Addendum to commit1e172203a(r55734). * [NTOS:PS] NtQueryInformationProcess(): Optimize `*ReturnLength` assignment Enter the SEH block only if we know we'll have to set `*ReturnLength` on return. Addendum to commit2278c2914(r23175).