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
697e529c
Commit
697e529c
authored
Jun 16, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Take the riid parameter to TaskbarList_Create() into account.
parent
936713fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
taskbarlist.c
dlls/shdocvw/taskbarlist.c
+11
-3
No files found.
dlls/shdocvw/taskbarlist.c
View file @
697e529c
...
...
@@ -130,12 +130,14 @@ static const struct ITaskbarListVtbl taskbar_list_vtbl =
HRESULT
TaskbarList_Create
(
IUnknown
*
outer
,
REFIID
riid
,
void
**
taskbar_list
)
{
struct
taskbar_list
*
object
;
HRESULT
hr
;
TRACE
(
"outer %p, riid %s, taskbar_list %p
\n
"
,
outer
,
debugstr_guid
(
riid
),
taskbar_list
);
if
(
outer
)
{
WARN
(
"Aggregation not supported
\n
"
);
*
taskbar_list
=
NULL
;
return
CLASS_E_NOAGGREGATION
;
}
...
...
@@ -143,15 +145,21 @@ HRESULT TaskbarList_Create(IUnknown *outer, REFIID riid, void **taskbar_list)
if
(
!
object
)
{
ERR
(
"Failed to allocate taskbar list object memory
\n
"
);
*
taskbar_list
=
NULL
;
return
E_OUTOFMEMORY
;
}
object
->
lpVtbl
=
&
taskbar_list_vtbl
;
object
->
refcount
=
1
;
*
taskbar_list
=
object
;
object
->
refcount
=
0
;
TRACE
(
"Created ITaskbarList %p
\n
"
,
object
);
hr
=
ITaskbarList_QueryInterface
((
ITaskbarList
*
)
object
,
riid
,
taskbar_list
);
if
(
FAILED
(
hr
))
{
HeapFree
(
GetProcessHeap
(),
0
,
object
);
return
hr
;
}
return
S_OK
;
}
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