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
c3c4a41f
Commit
c3c4a41f
authored
Dec 15, 2002
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Dec 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for Unicode IExtractIcon creation in
IShellFolder->GetUIObjectOf.
parent
d7d7e3bc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
shell32_main.h
dlls/shell32/shell32_main.h
+1
-0
shfldr_desktop.c
dlls/shell32/shfldr_desktop.c
+5
-0
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+5
-0
shfldr_mycomp.c
dlls/shell32/shfldr_mycomp.c
+5
-0
No files found.
dlls/shell32/shell32_main.h
View file @
c3c4a41f
...
...
@@ -100,6 +100,7 @@ HRESULT WINAPI IDropTargetHelper_Constructor (IUnknown * pUnkOuter, REFIID riid,
LPENUMIDLIST
IEnumIDList_Constructor
(
LPCSTR
,
DWORD
,
DWORD
);
LPEXTRACTICONA
IExtractIconA_Constructor
(
LPITEMIDLIST
);
LPEXTRACTICONW
IExtractIconW_Constructor
(
LPITEMIDLIST
);
HRESULT
CreateStreamOnFile
(
LPCSTR
pszFilename
,
IStream
**
ppstm
);
/* FIXME: rename the functions when the shell32.dll has it's own exports namespace */
...
...
dlls/shell32/shfldr_desktop.c
View file @
c3c4a41f
...
...
@@ -408,6 +408,11 @@ static HRESULT WINAPI ISF_Desktop_fnGetUIObjectOf (IShellFolder2 * iface,
pObj
=
(
LPUNKNOWN
)
IExtractIconA_Constructor
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconW
)
&&
(
cidl
==
1
))
{
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pObj
=
(
LPUNKNOWN
)
IExtractIconW_Constructor
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
)
&&
(
cidl
>=
1
))
{
hr
=
IShellFolder_QueryInterface
(
iface
,
&
IID_IDropTarget
,
(
LPVOID
*
)
&
pObj
);
}
else
{
...
...
dlls/shell32/shfldr_fs.c
View file @
c3c4a41f
...
...
@@ -559,6 +559,11 @@ IShellFolder_fnGetUIObjectOf (IShellFolder2 * iface,
pObj
=
(
LPUNKNOWN
)
IExtractIconA_Constructor
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconW
)
&&
(
cidl
==
1
))
{
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pObj
=
(
LPUNKNOWN
)
IExtractIconW_Constructor
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
)
&&
(
cidl
>=
1
))
{
hr
=
IShellFolder_QueryInterface
(
iface
,
&
IID_IDropTarget
,
(
LPVOID
*
)
&
pObj
);
}
else
{
...
...
dlls/shell32/shfldr_mycomp.c
View file @
c3c4a41f
...
...
@@ -388,6 +388,11 @@ ISF_MyComputer_fnGetUIObjectOf (IShellFolder2 * iface,
pObj
=
(
LPUNKNOWN
)
IExtractIconA_Constructor
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconW
)
&&
(
cidl
==
1
))
{
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pObj
=
(
LPUNKNOWN
)
IExtractIconW_Constructor
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
)
&&
(
cidl
>=
1
))
{
hr
=
IShellFolder_QueryInterface
(
iface
,
&
IID_IDropTarget
,
(
LPVOID
*
)
&
pObj
);
}
else
{
...
...
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