mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:43:01 +00:00
[NTOSKRNL]
Halfplement (win32 only) ProcessWow64Information case in NtQueryInformationProcess. Patch by Samuel Serapion. See issue #5916 for more details. svn path=/trunk/; revision=50831
This commit is contained in:
parent
c5e43261f2
commit
6da719aa66
1 changed files with 17 additions and 2 deletions
|
@ -469,11 +469,26 @@ NtQueryInformationProcess(IN HANDLE ProcessHandle,
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_SUCCESS(Status)) break;
|
if (!NT_SUCCESS(Status)) break;
|
||||||
|
|
||||||
|
/* Protect write in SEH */
|
||||||
|
_SEH2_TRY
|
||||||
|
{
|
||||||
|
#ifdef _WIN64
|
||||||
DPRINT1("Not implemented: ProcessWow64Information\n");
|
DPRINT1("Not implemented: ProcessWow64Information\n");
|
||||||
|
Status = STATUS_NOT_IMPLEMENTED;
|
||||||
|
#else
|
||||||
|
/* Wow64 not present */
|
||||||
|
*(PULONG_PTR)ProcessInformation = 0;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
|
{
|
||||||
|
/* Get the exception code */
|
||||||
|
Status = _SEH2_GetExceptionCode();
|
||||||
|
}
|
||||||
|
_SEH2_END;
|
||||||
|
|
||||||
/* Dereference the process */
|
/* Dereference the process */
|
||||||
ObDereferenceObject(Process);
|
ObDereferenceObject(Process);
|
||||||
Status = STATUS_NOT_IMPLEMENTED;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Virtual Memory Statistics */
|
/* Virtual Memory Statistics */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue