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
cca34925
Commit
cca34925
authored
Jun 18, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a test failure on Vista and higher.
parent
73198056
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
shlfolder.c
dlls/shell32/tests/shlfolder.c
+3
-1
No files found.
dlls/shell32/tests/shlfolder.c
View file @
cca34925
...
...
@@ -962,7 +962,9 @@ static void test_SHGetPathFromIDList(void)
wszPath
[
1
]
=
'\0'
;
result
=
pSHGetPathFromIDListW
(
pidlMyComputer
,
wszPath
);
ok
(
!
result
,
"SHGetPathFromIDListW succeeded where it shouldn't!
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"SHGetPathFromIDListW shouldn't set last error! Last error: %u
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
0xdeadbeef
||
GetLastError
()
==
ERROR_SUCCESS
,
/* Vista and higher */
"Unexpected last error from SHGetPathFromIDListW: %u
\n
"
,
GetLastError
());
ok
(
!
wszPath
[
0
],
"Expected empty path
\n
"
);
if
(
result
)
{
IShellFolder_Release
(
psfDesktop
);
...
...
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