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
29bdfed9
Commit
29bdfed9
authored
Jan 22, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jan 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Fix return type of COMDLG32_StrRetToStrNW.
parent
0a9a1bc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
filedlgbrowser.c
dlls/comdlg32/filedlgbrowser.c
+3
-3
No files found.
dlls/comdlg32/filedlgbrowser.c
View file @
29bdfed9
...
...
@@ -149,7 +149,7 @@ static void COMDLG32_UpdateCurrentDir(const FileOpenDlgInfos *fodInfos)
}
/* copied from shell32 to avoid linking to it */
static
HRESULT
COMDLG32_StrRetToStrNW
(
LPVOID
dest
,
DWORD
len
,
LPSTRRET
src
,
LPCITEMIDLIST
pidl
)
static
BOOL
COMDLG32_StrRetToStrNW
(
LPVOID
dest
,
DWORD
len
,
LPSTRRET
src
,
LPCITEMIDLIST
pidl
)
{
TRACE
(
"dest=%p len=0x%x strret=%p pidl=%p stub
\n
"
,
dest
,
len
,
src
,
pidl
);
...
...
@@ -181,7 +181,7 @@ static HRESULT COMDLG32_StrRetToStrNW (LPVOID dest, DWORD len, LPSTRRET src, LPC
}
return
(
FALSE
);
}
return
S_OK
;
return
TRUE
;
}
/*
...
...
@@ -881,7 +881,7 @@ static HRESULT WINAPI IShellBrowserImpl_ICommDlgBrowser_IncludeObject(ICommDlgBr
if
(
SUCCEEDED
(
IShellFolder_GetDisplayNameOf
(
fodInfos
->
Shell
.
FOIShellFolder
,
pidl
,
SHGDN_INFOLDER
|
SHGDN_FORPARSING
,
&
str
)))
{
if
(
SUCCEEDED
(
COMDLG32_StrRetToStrNW
(
szPathW
,
MAX_PATH
,
&
str
,
pidl
)
))
if
(
COMDLG32_StrRetToStrNW
(
szPathW
,
MAX_PATH
,
&
str
,
pidl
))
{
if
(
PathMatchSpecW
(
szPathW
,
fodInfos
->
ShellInfos
.
lpstrCurrentFilter
))
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