mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 00:08:18 +00:00
ntdll: Implement NtSetInformationProcess for ProcessDefaultHardErrorMode.
This commit is contained in:
parent
9cb3664bb7
commit
a4331aaf5d
@ -440,6 +440,10 @@ NTSTATUS WINAPI NtSetInformationProcess(
|
||||
|
||||
switch (ProcessInformationClass)
|
||||
{
|
||||
case ProcessDefaultHardErrorMode:
|
||||
if (ProcessInformationLength != sizeof(UINT)) return STATUS_INVALID_PARAMETER;
|
||||
process_error_mode = *(UINT *)ProcessInformation;
|
||||
break;
|
||||
case ProcessAffinityMask:
|
||||
if (ProcessInformationLength != sizeof(DWORD_PTR)) return STATUS_INVALID_PARAMETER;
|
||||
if (*(PDWORD_PTR)ProcessInformation & ~(((DWORD_PTR)1 << NtCurrentTeb()->Peb->NumberOfProcessors) - 1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user