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
b4ea7d32
Commit
b4ea7d32
authored
Feb 13, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Feb 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Implement Get/SetIDList on ShellItem objects.
parent
affd20d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
shellitem.c
dlls/shell32/shellitem.c
+20
-4
No files found.
dlls/shell32/shellitem.c
View file @
b4ea7d32
...
...
@@ -204,9 +204,20 @@ static HRESULT WINAPI ShellItem_IPersistIDList_SetIDList(IPersistIDList* iface,
LPCITEMIDLIST
pidl
)
{
ShellItem
*
This
=
impl_from_IPersistIDList
(
iface
);
LPITEMIDLIST
new_pidl
;
FIXME
(
"(%p,%p)
\n
"
,
This
,
pidl
);
return
E_NOTIMPL
;
TRACE
(
"(%p,%p)
\n
"
,
This
,
pidl
);
new_pidl
=
ILClone
(
pidl
);
if
(
new_pidl
)
{
ILFree
(
This
->
pidl
);
This
->
pidl
=
new_pidl
;
return
S_OK
;
}
else
return
E_OUTOFMEMORY
;
}
static
HRESULT
WINAPI
ShellItem_IPersistIDList_GetIDList
(
IPersistIDList
*
iface
,
...
...
@@ -214,8 +225,13 @@ static HRESULT WINAPI ShellItem_IPersistIDList_GetIDList(IPersistIDList* iface,
{
ShellItem
*
This
=
impl_from_IPersistIDList
(
iface
);
FIXME
(
"(%p,%p)
\n
"
,
This
,
ppidl
);
return
E_NOTIMPL
;
TRACE
(
"(%p,%p)
\n
"
,
This
,
ppidl
);
*
ppidl
=
ILClone
(
This
->
pidl
);
if
(
*
ppidl
)
return
S_OK
;
else
return
E_OUTOFMEMORY
;
}
static
const
IPersistIDListVtbl
ShellItem_IPersistIDList_Vtbl
=
{
...
...
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