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
27434f36
Commit
27434f36
authored
Nov 01, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Apr 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Test SHBindToParent() last parameter behavior.
parent
5956c995
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
shlfolder.c
dlls/shell32/tests/shlfolder.c
+2
-0
No files found.
dlls/shell32/tests/shlfolder.c
View file @
27434f36
...
...
@@ -775,9 +775,11 @@ static void test_GetDisplayName(void)
ok
(
!
lstrcmpiW
(
wszTestFile
,
wszTestFile2
),
"SHGetPathFromIDListW returns incorrect path!
\n
"
);
/* SHBindToParent fails, if called with a NULL PIDL. */
pidlLast
=
(
LPITEMIDLIST
)
0xdeadbeef
;
hr
=
SHBindToParent
(
NULL
,
&
IID_IShellFolder
,
(
void
**
)
&
psfPersonal
,
&
pidlLast
);
ok
(
hr
==
E_INVALIDARG
||
broken
(
hr
==
E_OUTOFMEMORY
)
/* XP */
,
"SHBindToParent(NULL) should fail! hr = %08lx
\n
"
,
hr
);
todo_wine
ok
(
pidlLast
==
NULL
,
"got %p
\n
"
,
pidlLast
);
/* But it succeeds with an empty PIDL. */
hr
=
SHBindToParent
(
pidlEmpty
,
&
IID_IShellFolder
,
(
void
**
)
&
psfPersonal
,
&
pidlLast
);
...
...
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