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
1168dfc3
Commit
1168dfc3
authored
Jun 27, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix test_user_apc() on Windows < 7.
parent
6775a20f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
exception.c
dlls/ntdll/tests/exception.c
+4
-2
No files found.
dlls/ntdll/tests/exception.c
View file @
1168dfc3
...
...
@@ -8801,6 +8801,9 @@ static void test_user_apc(void)
memcpy
(
code_mem
,
code
,
sizeof
(
code
));
func
(
RtlCaptureContext
,
&
context
);
/* work around broken RtlCaptureContext on Windows < 7 which doesn't set
* ContextFlags */
context
.
ContextFlags
=
CONTEXT_FULL
;
}
#else
RtlCaptureContext
(
&
context
);
...
...
@@ -8824,8 +8827,7 @@ static void test_user_apc(void)
ok
(
!
status
,
"Got unexpected status %#lx.
\n
"
,
status
);
status
=
NtContinue
(
&
c
[
0
],
TRUE
);
/* Broken before Win7, in that case NtContinue returns here instead of restoring context after calling APC. */
ok
(
broken
(
TRUE
),
"Should not get here, status %#lx.
\n
"
,
status
);
ok
(
0
,
"Should not get here, status %#lx.
\n
"
,
status
);
return
;
}
ok
(
pass
==
3
,
"Got unexpected pass %ld.
\n
"
,
pass
);
...
...
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