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
d80ca173
Commit
d80ca173
authored
Oct 17, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Delay common controls initialization until needed.
parent
116e33d5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
Makefile.in
dlls/shell32/Makefile.in
+2
-2
brsfolder.c
dlls/shell32/brsfolder.c
+5
-0
shell32_main.c
dlls/shell32/shell32_main.c
+0
-1
shlview.c
dlls/shell32/shlview.c
+5
-0
No files found.
dlls/shell32/Makefile.in
View file @
d80ca173
EXTRADEFS
=
-D_SHELL32_
MODULE
=
shell32.dll
IMPORTLIB
=
shell32
IMPORTS
=
uuid shlwapi
comctl32
user32 gdi32 advapi32
DELAYIMPORTS
=
ole32 oleaut32 shdocvw version
IMPORTS
=
uuid shlwapi user32 gdi32 advapi32
DELAYIMPORTS
=
ole32 oleaut32 shdocvw version
comctl32
EXTRALIBS
=
@CORESERVICESLIB@
C_SRCS
=
\
...
...
dlls/shell32/brsfolder.c
View file @
d80ca173
...
...
@@ -1110,12 +1110,17 @@ LPITEMIDLIST WINAPI SHBrowseForFolderW (LPBROWSEINFOW lpbi)
DWORD
r
;
HRESULT
hr
;
const
WCHAR
*
templateName
;
INITCOMMONCONTROLSEX
icex
;
info
.
hWnd
=
0
;
info
.
pidlRet
=
NULL
;
info
.
lpBrowseInfo
=
lpbi
;
info
.
hwndTreeView
=
NULL
;
icex
.
dwSize
=
sizeof
(
icex
);
icex
.
dwICC
=
ICC_TREEVIEW_CLASSES
;
InitCommonControlsEx
(
&
icex
);
hr
=
OleInitialize
(
NULL
);
if
(
lpbi
->
ulFlags
&
BIF_NEWDIALOGSTYLE
)
...
...
dlls/shell32/shell32_main.c
View file @
d80ca173
...
...
@@ -1272,7 +1272,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
GetModuleFileNameW
(
hinstDLL
,
swShell32Name
,
MAX_PATH
);
swShell32Name
[
MAX_PATH
-
1
]
=
'\0'
;
InitCommonControlsEx
(
NULL
);
InitChangeNotifications
();
break
;
...
...
dlls/shell32/shlview.c
View file @
d80ca173
...
...
@@ -2075,10 +2075,15 @@ static HRESULT WINAPI IShellView2_fnCreateViewWindow2(IShellView2 *iface,
LPSV2CVW2_PARAMS
view_params
)
{
IShellViewImpl
*
This
=
impl_from_IShellView2
(
iface
);
INITCOMMONCONTROLSEX
icex
;
WNDCLASSW
wc
;
HRESULT
hr
;
HWND
wnd
;
icex
.
dwSize
=
sizeof
(
icex
);
icex
.
dwICC
=
ICC_LISTVIEW_CLASSES
;
InitCommonControlsEx
(
&
icex
);
TRACE
(
"(%p)->(view_params %p)
\n
"
,
iface
,
view_params
);
if
(
view_params
->
cbSize
!=
sizeof
(
*
view_params
))
...
...
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