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
ebe727e5
Commit
ebe727e5
authored
Jan 14, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: Make sure the file contains data for the ReadFile test.
parent
49c7bbe0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
file.c
dlls/kernel/tests/file.c
+4
-0
No files found.
dlls/kernel/tests/file.c
View file @
ebe727e5
...
...
@@ -1369,6 +1369,10 @@ static void test_read_write(void)
bytes
==
10
,
/* Win9x */
"bytes = %ld
\n
"
,
bytes
);
/* make sure the file contains data */
WriteFile
(
hFile
,
"this is the test data"
,
21
,
&
bytes
,
NULL
);
SetFilePointer
(
hFile
,
0
,
NULL
,
FILE_BEGIN
);
SetLastError
(
12345678
);
bytes
=
12345678
;
ret
=
ReadFile
(
hFile
,
NULL
,
0
,
&
bytes
,
NULL
);
...
...
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