Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e1f41c0a
Commit
e1f41c0a
authored
Mar 08, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp/tests: Preserve last error in process_get_kind().
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
2d3b6d03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
dbghelp.c
dlls/dbghelp/tests/dbghelp.c
+9
-1
No files found.
dlls/dbghelp/tests/dbghelp.c
View file @
e1f41c0a
...
...
@@ -564,7 +564,7 @@ enum process_kind
PCSKIND_WOW64
,
/* Wine "new" wow64 configuration, and Windows with wow64 support */
};
static
enum
process_kind
get_process_kind
(
HANDLE
process
)
static
enum
process_kind
get_process_kind
_internal
(
HANDLE
process
)
{
USHORT
m1
,
m2
;
...
...
@@ -601,6 +601,14 @@ static enum process_kind get_process_kind(HANDLE process)
return
PCSKIND_ERROR
;
}
static
enum
process_kind
get_process_kind
(
HANDLE
process
)
{
DWORD
gle
=
GetLastError
();
enum
process_kind
pcskind
=
get_process_kind_internal
(
process
);
SetLastError
(
gle
);
return
pcskind
;
}
struct
loaded_module_aggregation
{
HANDLE
proc
;
...
...
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