Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a7112851
Commit
a7112851
authored
Jul 06, 2016
by
Alex Henrie
Committed by
Alexandre Julliard
Jul 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Set output interfaces to NULL in FolderItems functions.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
970de7df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
shelldispatch.c
dlls/shell32/shelldispatch.c
+8
-1
shelldispatch.c
dlls/shell32/tests/shelldispatch.c
+0
-3
No files found.
dlls/shell32/shelldispatch.c
View file @
a7112851
...
...
@@ -1063,12 +1063,16 @@ static HRESULT WINAPI FolderItemsImpl_get_Application(FolderItems3 *iface, IDisp
if
(
!
ppid
)
return
E_INVALIDARG
;
*
ppid
=
NULL
;
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
FolderItemsImpl_get_Parent
(
FolderItems3
*
iface
,
IDispatch
**
ppid
)
{
FIXME
(
"(%p,%p)
\n
"
,
iface
,
ppid
);
TRACE
(
"(%p,%p)
\n
"
,
iface
,
ppid
);
if
(
ppid
)
*
ppid
=
NULL
;
return
E_NOTIMPL
;
}
...
...
@@ -1077,6 +1081,7 @@ static HRESULT WINAPI FolderItemsImpl_Item(FolderItems3 *iface, VARIANT index, F
{
FIXME
(
"(%p,%s,%p)
\n
"
,
iface
,
debugstr_variant
(
&
index
),
ppid
);
*
ppid
=
NULL
;
return
E_NOTIMPL
;
}
...
...
@@ -1087,6 +1092,7 @@ static HRESULT WINAPI FolderItemsImpl__NewEnum(FolderItems3 *iface, IUnknown **p
if
(
!
ppunk
)
return
E_INVALIDARG
;
*
ppunk
=
NULL
;
return
E_NOTIMPL
;
}
...
...
@@ -1111,6 +1117,7 @@ static HRESULT WINAPI FolderItemsImpl_get_Verbs(FolderItems3 *iface, FolderItemV
if
(
!
ppfic
)
return
E_INVALIDARG
;
*
ppfic
=
NULL
;
return
E_NOTIMPL
;
}
...
...
dlls/shell32/tests/shelldispatch.c
View file @
a7112851
...
...
@@ -370,7 +370,6 @@ todo_wine
r
=
FolderItems_Item
(
items
,
var
,
&
item
);
todo_wine
ok
(
r
==
S_FALSE
,
"expected S_FALSE, got %08x
\n
"
,
r
);
todo_wine
ok
(
!
item
,
"item is not null
\n
"
);
if
(
0
)
/* crashes on xp */
...
...
@@ -395,7 +394,6 @@ todo_wine
disp
=
(
IDispatch
*
)
0xdeadbeef
;
r
=
FolderItems_get_Parent
(
items
,
&
disp
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL, got %08x
\n
"
,
r
);
todo_wine
ok
(
!
disp
,
"disp is not null
\n
"
);
if
(
0
)
/* crashes on xp */
...
...
@@ -426,7 +424,6 @@ todo_wine
r
=
FolderItems3_get_Verbs
(
items3
,
&
verbs
);
todo_wine
ok
(
r
==
S_FALSE
,
"expected S_FALSE, got %08x
\n
"
,
r
);
todo_wine
ok
(
!
verbs
,
"verbs is not null
\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