Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9cb3664b
Commit
9cb3664b
authored
May 14, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Aug 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Implement NtQueryInformationProcess for ProcessDefaultHardErrorMode.
parent
c8c12668
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
process.c
dlls/ntdll/process.c
+8
-1
No files found.
dlls/ntdll/process.c
View file @
9cb3664b
...
...
@@ -90,6 +90,7 @@ HANDLE CDECL __wine_make_process_system(void)
return
ret
;
}
static
UINT
process_error_mode
;
#define UNIMPLEMENTED_INFO_CLASS(c) \
case c: \
...
...
@@ -126,7 +127,6 @@ NTSTATUS WINAPI NtQueryInformationProcess(
UNIMPLEMENTED_INFO_CLASS
(
ProcessAccessToken
);
UNIMPLEMENTED_INFO_CLASS
(
ProcessLdtInformation
);
UNIMPLEMENTED_INFO_CLASS
(
ProcessLdtSize
);
UNIMPLEMENTED_INFO_CLASS
(
ProcessDefaultHardErrorMode
);
UNIMPLEMENTED_INFO_CLASS
(
ProcessIoPortHandlers
);
UNIMPLEMENTED_INFO_CLASS
(
ProcessPooledUsageAndLimits
);
UNIMPLEMENTED_INFO_CLASS
(
ProcessWorkingSetWatch
);
...
...
@@ -314,6 +314,13 @@ NTSTATUS WINAPI NtQueryInformationProcess(
else
ret
=
STATUS_INFO_LENGTH_MISMATCH
;
break
;
case
ProcessDefaultHardErrorMode
:
len
=
sizeof
(
process_error_mode
);
if
(
ProcessInformationLength
==
len
)
memcpy
(
ProcessInformation
,
&
process_error_mode
,
len
);
else
ret
=
STATUS_INFO_LENGTH_MISMATCH
;
break
;
case
ProcessDebugObjectHandle
:
/* "These are not the debuggers you are looking for." *
* set it to 0 aka "no debugger" to satisfy copy protections */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment