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
4270a8a4
Commit
4270a8a4
authored
Sep 09, 2015
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Return success from IFileDialog2::AddPlace.
parent
3fc57e7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
itemdlg.c
dlls/comdlg32/itemdlg.c
+1
-1
itemdlg.c
dlls/comdlg32/tests/itemdlg.c
+2
-5
No files found.
dlls/comdlg32/itemdlg.c
View file @
4270a8a4
...
...
@@ -2554,7 +2554,7 @@ static HRESULT WINAPI IFileDialog2_fnAddPlace(IFileDialog2 *iface, IShellItem *p
{
FileDialogImpl
*
This
=
impl_from_IFileDialog2
(
iface
);
FIXME
(
"stub - %p (%p, %d)
\n
"
,
This
,
psi
,
fdap
);
return
E_NOTIMPL
;
return
S_OK
;
}
static
HRESULT
WINAPI
IFileDialog2_fnSetDefaultExtension
(
IFileDialog2
*
iface
,
LPCWSTR
pszDefaultExtension
)
...
...
dlls/comdlg32/tests/itemdlg.c
View file @
4270a8a4
...
...
@@ -778,22 +778,19 @@ static void test_basics(void)
IFileSaveDialog_AddPlace
(
pfsd
,
NULL
,
0
);
}
todo_wine
{
hr
=
IFileOpenDialog_AddPlace
(
pfod
,
psidesktop
,
FDAP_TOP
+
1
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IFileOpenDialog_AddPlace
(
pfod
,
psidesktop
,
FDAP_BOTTOM
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IFileOpenDialog_AddPlace
(
pfod
,
psidesktop
,
FDAP_TOP
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IFileSaveDialog_AddPlace
(
pfsd
,
psidesktop
,
FDAP_TOP
+
1
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IFileSaveDialog_AddPlace
(
pfsd
,
psidesktop
,
FDAP_BOTTOM
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IFileSaveDialog_AddPlace
(
pfsd
,
psidesktop
,
FDAP_TOP
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
}
/* SetFileName */
hr
=
IFileOpenDialog_SetFileName
(
pfod
,
NULL
);
...
...
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