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
fb45de3f
Commit
fb45de3f
authored
Mar 04, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use return value on failure updated in Vista+.
parent
ba519be6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
pidl.c
dlls/shell32/pidl.c
+1
-1
shlfolder.c
dlls/shell32/tests/shlfolder.c
+2
-1
No files found.
dlls/shell32/pidl.c
View file @
fb45de3f
...
...
@@ -1333,7 +1333,7 @@ HRESULT WINAPI SHParseDisplayName(LPCWSTR name, IBindCtx *bindctx, LPITEMIDLIST
*
pidlist
=
NULL
;
if
(
!
name
)
return
E_
OUTOFMEMORY
;
if
(
!
name
)
return
E_
INVALIDARG
;
hr
=
SHGetDesktopFolder
(
&
desktop
);
if
(
hr
!=
S_OK
)
return
hr
;
...
...
dlls/shell32/tests/shlfolder.c
View file @
fb45de3f
...
...
@@ -2007,7 +2007,8 @@ if (0)
pidl1
=
(
LPITEMIDLIST
)
0xdeadbeef
;
hr
=
pSHParseDisplayName
(
NULL
,
NULL
,
&
pidl1
,
0
,
NULL
);
ok
(
hr
==
E_OUTOFMEMORY
,
"failed %08x
\n
"
,
hr
);
ok
(
broken
(
hr
==
E_OUTOFMEMORY
)
/* < Vista */
||
hr
==
E_INVALIDARG
,
"failed %08x
\n
"
,
hr
);
ok
(
pidl1
==
0
,
"expected null ptr, got %p
\n
"
,
pidl1
);
/* dummy name */
...
...
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