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
0b2e7de7
Commit
0b2e7de7
authored
Aug 16, 2014
by
Bernhard Reiter
Committed by
Alexandre Julliard
Aug 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imagehlp/tests: Add test for BindImageEx with NULL as StatusRoutine.
parent
8fb0fd77
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
image.c
dlls/imagehlp/tests/image.c
+6
-1
No files found.
dlls/imagehlp/tests/image.c
View file @
0b2e7de7
...
@@ -405,7 +405,12 @@ static void test_bind_image_ex(void)
...
@@ -405,7 +405,12 @@ static void test_bind_image_ex(void)
WriteFile
(
file
,
&
bin
,
sizeof
(
bin
),
&
count
,
NULL
);
WriteFile
(
file
,
&
bin
,
sizeof
(
bin
),
&
count
,
NULL
);
CloseHandle
(
file
);
CloseHandle
(
file
);
/* call with a proper PE file */
/* call with a proper PE file, but with StatusRoutine set to NULL */
ret
=
pBindImageEx
(
BIND_NO_BOUND_IMPORTS
|
BIND_NO_UPDATE
|
BIND_ALL_IMAGES
,
temp_file
,
0
,
0
,
NULL
);
ok
(
ret
,
"BindImageEx failed: %d
\n
"
,
GetLastError
());
/* call with a proper PE file and StatusRoutine */
ret
=
pBindImageEx
(
BIND_NO_BOUND_IMPORTS
|
BIND_NO_UPDATE
|
BIND_ALL_IMAGES
,
temp_file
,
0
,
0
,
ret
=
pBindImageEx
(
BIND_NO_BOUND_IMPORTS
|
BIND_NO_UPDATE
|
BIND_ALL_IMAGES
,
temp_file
,
0
,
0
,
testing_status_routine
);
testing_status_routine
);
ok
(
ret
,
"BindImageEx failed: %d
\n
"
,
GetLastError
());
ok
(
ret
,
"BindImageEx failed: %d
\n
"
,
GetLastError
());
...
...
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