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
d6802318
Commit
d6802318
authored
Apr 28, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added IShellFolderViewDual definition.
parent
4f228378
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
136 additions
and
0 deletions
+136
-0
shelldispatch.c
dlls/shell32/tests/shelldispatch.c
+22
-0
shldisp.idl
include/shldisp.idl
+114
-0
No files found.
dlls/shell32/tests/shelldispatch.c
View file @
d6802318
...
...
@@ -364,6 +364,27 @@ static void test_service(void)
IShellDispatch2_Release
(
sd
);
}
static
void
test_ShellFolderView
(
void
)
{
IShellFolderViewDual
*
viewdual
;
IShellFolder
*
desktop
;
IShellView
*
view
;
HRESULT
hr
;
/* IShellFolderViewDual is not an IShellView extension */
hr
=
SHGetDesktopFolder
(
&
desktop
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IShellFolder_CreateViewObject
(
desktop
,
NULL
,
&
IID_IShellView
,
(
void
**
)
&
view
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IShellView_QueryInterface
(
view
,
&
IID_IShellFolderViewDual
,
(
void
**
)
&
viewdual
);
ok
(
hr
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
hr
);
IShellView_Release
(
view
);
IShellFolder_Release
(
desktop
);
}
START_TEST
(
shelldispatch
)
{
HRESULT
r
;
...
...
@@ -376,6 +397,7 @@ START_TEST(shelldispatch)
init_function_pointers
();
test_namespace
();
test_service
();
test_ShellFolderView
();
CoUninitialize
();
}
include/shldisp.idl
View file @
d6802318
...
...
@@ -586,6 +586,120 @@ enum ShellSpecialFolderConstants {
ssfPROGRAMFILESx86 = 0x30
} ShellSpecialFolderConstants;
/*****************************************************************************
* IShellFolderViewDual interface
*/
typedef
[
uuid(742a99a0-c77e-11d0-a32c-00a0c91eedba)
]
enum ShellFolderViewOptions
{
SFVVO_SHOWALLOBJECTS = 0x00000001,
SFVVO_SHOWEXTENSIONS = 0x00000002,
SFVVO_SHOWCOMPCOLOR = 0x00000008,
SFVVO_SHOWSYSFILES = 0x00000020,
SFVVO_WIN95CLASSIC = 0x00000040,
SFVVO_DOUBLECLICKINWEBVIEW = 0x00000080,
SFVVO_DESKTOPHTML = 0x00000200
} ShellFolderViewOptions;
[
uuid(e7a1af80-4d96-11cf-960c-0080c7f4ee85),
oleautomation,
hidden,
dual
]
interface IShellFolderViewDual : IDispatch
{
[propget]
HRESULT Application([out, retval] IDispatch **app);
[propget]
HRESULT Parent([out, retval] IDispatch **parent);
[propget]
HRESULT Folder([out, retval] Folder **folder);
HRESULT SelectedItems([out, retval] FolderItems **items);
[propget]
HRESULT FocusedItem([out, retval] FolderItem **item);
HRESULT SelectItem([in] VARIANT *item, [in] int flags);
HRESULT PopupItemMenu([in] FolderItem *item,
[in, optional] VARIANT vx,
[in, optional] VARIANT vy,
[out, retval] BSTR *command);
[propget]
HRESULT Script([out, retval] IDispatch **script);
[propget]
HRESULT ViewOptions([out, retval] long *options);
}
[
uuid(31c147b6-0ade-4a3c-b514-ddf932ef6d17),
oleautomation,
hidden,
dual
]
interface IShellFolderViewDual2 : IShellFolderViewDual
{
[propget]
HRESULT CurrentViewMode([out, retval] UINT *mode);
[propput]
HRESULT CurrentViewMode([in] UINT mode);
HRESULT SelectItemRelative([in] int relative);
}
[
uuid(29ec8e6c-46d3-411f-baaa-611a6c9cac66),
oleautomation,
hidden,
dual
]
interface IShellFolderViewDual3 : IShellFolderViewDual2
{
[propget]
HRESULT GroupBy([out, retval] BSTR *groupby);
[propput]
HRESULT GroupBy([in] BSTR groupby);
[propget]
HRESULT FolderFlags([out, retval] DWORD *flags);
[propput]
HRESULT FolderFlags([in] DWORD flags);
[propget]
HRESULT SortColumns([out, retval] BSTR *sortcolumns);
[propput]
HRESULT SortColumns([in] BSTR sortcolumns);
[propput]
HRESULT IconSize([in] int icon_size);
[propget]
HRESULT IconSize([out, retval] int *icon_size);
HRESULT FilterView([in, unique] BSTR filter_text);
}
[
uuid(62112aa1-ebe4-11cf-a5fb-0020afe7292d)
]
coclass ShellFolderView
{
[default] interface IShellFolderViewDual3;
[default, source] dispinterface DShellFolderViewEvents;
}
} /* library Shell32 */
/*****************************************************************************
...
...
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