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
63a9e11e
Commit
63a9e11e
authored
Jul 19, 2002
by
Jon Griffiths
Committed by
Alexandre Julliard
Jul 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented SHBrowseForFolderW.
parent
964e4f9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
1 deletion
+42
-1
brsfolder.c
dlls/shell32/brsfolder.c
+41
-0
shell32.spec
dlls/shell32/shell32.spec
+1
-1
No files found.
dlls/shell32/brsfolder.c
View file @
63a9e11e
...
...
@@ -340,3 +340,44 @@ LPITEMIDLIST WINAPI SHBrowseForFolderA (LPBROWSEINFOA lpbi)
lpbi
->
hwndOwner
,
BrsFolderDlgProc
,
(
INT
)
lpbi
);
}
/*************************************************************************
* SHBrowseForFolderW [SHELL32.@]
*/
LPITEMIDLIST
WINAPI
SHBrowseForFolderW
(
LPBROWSEINFOW
lpbi
)
{
char
szDisplayName
[
MAX_PATH
],
szTitle
[
MAX_PATH
];
BROWSEINFOA
bi
;
TRACE
(
"((%p->{lpszTitle=%s,owner=%i})
\n
"
,
lpbi
,
lpbi
?
debugstr_w
(
lpbi
->
lpszTitle
)
:
NULL
,
lpbi
?
lpbi
->
hwndOwner
:
0
);
if
(
!
lpbi
)
return
NULL
;
bi
.
hwndOwner
=
lpbi
->
hwndOwner
;
bi
.
pidlRoot
=
lpbi
->
pidlRoot
;
if
(
lpbi
->
pszDisplayName
)
{
WideCharToMultiByte
(
CP_ACP
,
0
,
lpbi
->
pszDisplayName
,
-
1
,
szDisplayName
,
MAX_PATH
,
0
,
NULL
);
bi
.
pszDisplayName
=
szDisplayName
;
}
else
bi
.
pszDisplayName
=
NULL
;
if
(
lpbi
->
lpszTitle
)
{
WideCharToMultiByte
(
CP_ACP
,
0
,
lpbi
->
lpszTitle
,
-
1
,
szTitle
,
MAX_PATH
,
0
,
NULL
);
bi
.
lpszTitle
=
szTitle
;
}
else
bi
.
lpszTitle
=
NULL
;
bi
.
ulFlags
=
lpbi
->
ulFlags
;
bi
.
lpfn
=
lpbi
->
lpfn
;
bi
.
lParam
=
lpbi
->
lParam
;
bi
.
iImage
=
lpbi
->
iImage
;
return
(
LPITEMIDLIST
)
DialogBoxParamA
(
shell32_hInstance
,
"SHBRSFORFOLDER_MSGBOX"
,
lpbi
->
hwndOwner
,
BrsFolderDlgProc
,
(
INT
)
lpbi
);
}
dlls/shell32/shell32.spec
View file @
63a9e11e
...
...
@@ -355,7 +355,7 @@ init Shell32LibMain
@ stdcall SHAppBarMessage(long ptr) SHAppBarMessage
@ stdcall SHBrowseForFolder(ptr) SHBrowseForFolderA
@ stdcall SHBrowseForFolderA(ptr) SHBrowseForFolderA
@ st
ub SHBrowseForFolderW@4
@ st
dcall SHBrowseForFolderW(ptr) SHBrowseForFolderW
@ stdcall SHChangeNotify (long long ptr ptr) SHChangeNotifyAW
@ stub ShellHookProc
@ stub SHEmptyRecycleBinA@12
...
...
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