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
57b83e14
Commit
57b83e14
authored
Jan 30, 2017
by
Bruno Jesus
Committed by
Alexandre Julliard
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Test NULL handle duplication in SHMapHandle().
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b46e1556
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ordinal.c
dlls/shlwapi/tests/ordinal.c
+6
-0
No files found.
dlls/shlwapi/tests/ordinal.c
View file @
57b83e14
...
...
@@ -568,6 +568,12 @@ static void test_alloc_shared_remote(DWORD procid, HANDLE hmem)
ok
(
ret
,
"SHUnlockShared failed: %u
\n
"
,
GetLastError
());
/* test SHMapHandle */
SetLastError
(
0xdeadbeef
);
hmem2
=
pSHMapHandle
(
NULL
,
procid
,
GetCurrentProcessId
(),
0
,
0
);
ok
(
hmem2
==
NULL
,
"expected NULL, got new handle
\n
"
);
todo_wine
ok
(
GetLastError
()
==
0xdeadbeef
,
"last error should not have changed, got %u
\n
"
,
GetLastError
());
hmem2
=
pSHMapHandle
(
hmem
,
procid
,
GetCurrentProcessId
(),
0
,
0
);
/* It seems like Windows Vista/2008 uses a different internal implementation
...
...
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