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
996e5d62
Commit
996e5d62
authored
Jun 10, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Stop shlfolder tests crashing under win98.
parent
185ad65d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
shlfolder.c
dlls/shell32/tests/shlfolder.c
+6
-2
No files found.
dlls/shell32/tests/shlfolder.c
View file @
996e5d62
...
...
@@ -432,6 +432,12 @@ static void test_GetDisplayName(void)
if
(
SUCCEEDED
(
hr
))
{
IShellFolder_Release
(
psfFile
);
}
if
(
!
pSHBindToParent
)
{
skip
(
"SHBindToParent is missing
\n
"
);
return
;
}
/* Some tests for IShellFolder::SetNameOf */
hr
=
pSHBindToParent
(
pidlTestFile
,
&
IID_IShellFolder
,
(
VOID
**
)
&
psfPersonal
,
&
pidlLast
);
...
...
@@ -474,8 +480,6 @@ static void test_GetDisplayName(void)
ok
(
!
lstrcmpiW
(
wszTestFile
,
wszTestFile2
),
"SHGetPathFromIDListW returns incorrect path!
\n
"
);
}
if
(
!
pSHBindToParent
)
return
;
/* SHBindToParent fails, if called with a NULL PIDL. */
hr
=
pSHBindToParent
(
NULL
,
&
IID_IShellFolder
,
(
VOID
**
)
&
psfPersonal
,
&
pidlLast
);
ok
(
FAILED
(
hr
),
"SHBindToParent(NULL) should fail!
\n
"
);
...
...
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