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
e23904ce
Commit
e23904ce
authored
Sep 20, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix tests on NT4.
parent
40a94e04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
file.c
dlls/kernel32/tests/file.c
+6
-2
No files found.
dlls/kernel32/tests/file.c
View file @
e23904ce
...
...
@@ -1560,12 +1560,16 @@ static void test_MapFile(void)
ok
(
GetLastError
()
==
ERROR_FILE_INVALID
,
"not ERROR_FILE_INVALID
\n
"
);
hmap
=
CreateFileMapping
(
handle
,
NULL
,
PAGE_READWRITE
,
0x80000000
,
0
,
NULL
);
ok
(
hmap
==
NULL
,
"mapping should fail
\n
"
);
ok
(
hmap
==
NULL
||
broken
(
hmap
!=
NULL
)
/* NT4 */
,
"mapping should fail
\n
"
);
/* GetLastError() varies between win9x and WinNT and also depends on the filesystem */
if
(
hmap
)
CloseHandle
(
hmap
);
hmap
=
CreateFileMapping
(
handle
,
NULL
,
PAGE_READWRITE
,
0x80000000
,
0x10000
,
NULL
);
ok
(
hmap
==
NULL
,
"mapping should fail
\n
"
);
ok
(
hmap
==
NULL
||
broken
(
hmap
!=
NULL
)
/* NT4 */
,
"mapping should fail
\n
"
);
/* GetLastError() varies between win9x and WinNT and also depends on the filesystem */
if
(
hmap
)
CloseHandle
(
hmap
);
/* On XP you can now map again, on Win 95 you cannot. */
...
...
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