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
9327e476
Commit
9327e476
authored
Jun 10, 2015
by
Huw Davies
Committed by
Alexandre Julliard
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix failing tests on Vista and Win 2008.
SHMapHandle fails with a variety of errors on these platforms.
parent
795845ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ordinal.c
dlls/shlwapi/tests/ordinal.c
+3
-3
No files found.
dlls/shlwapi/tests/ordinal.c
View file @
9327e476
...
...
@@ -548,10 +548,10 @@ static void test_alloc_shared_remote(DWORD procid, HANDLE hmem)
hmem2
=
pSHMapHandle
(
hmem
,
procid
,
GetCurrentProcessId
(),
0
,
0
);
/* It seems like Windows Vista/2008 uses a different internal implementation
* for shared memory, and calling SHMapHandle fails
with ERROR_INVALID_HANDLE
. */
ok
(
hmem2
!=
NULL
||
broken
(
hmem2
==
NULL
&&
GetLastError
()
==
ERROR_INVALID_HANDLE
),
* for shared memory, and calling SHMapHandle fails. */
ok
(
hmem2
!=
NULL
||
broken
(
hmem2
==
NULL
),
"SHMapHandle failed: %u
\n
"
,
GetLastError
());
if
(
hmem2
==
NULL
&&
GetLastError
()
==
ERROR_INVALID_HANDLE
)
if
(
hmem2
==
NULL
)
{
win_skip
(
"Subprocess failed to map shared memory, skipping test
\n
"
);
return
;
...
...
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