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
e91dac51
Commit
e91dac51
authored
Apr 29, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Update to IFolderView2.
parent
02ab73be
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
144 additions
and
0 deletions
+144
-0
usrmarshal.c
dlls/actxprxy/usrmarshal.c
+18
-0
shlview.c
dlls/shell32/shlview.c
+0
-0
shlview.c
dlls/shell32/tests/shlview.c
+6
-0
shobjidl.idl
include/shobjidl.idl
+120
-0
No files found.
dlls/actxprxy/usrmarshal.c
View file @
e91dac51
...
...
@@ -209,3 +209,21 @@ HRESULT __RPC_STUB IModalWindow_Show_Stub(
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
hwndOwner
);
return
IModalWindow_Show
(
This
,
hwndOwner
);
}
HRESULT
__RPC_STUB
IFolderView2_GetGroupBy_Stub
(
IFolderView2
*
This
,
PROPERTYKEY
*
pkey
,
BOOL
*
ascending
)
{
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
pkey
,
ascending
);
return
IFolderView2_GetGroupBy
(
This
,
pkey
,
ascending
);
}
HRESULT
__RPC_STUB
IFolderView2_GetGroupBy_Proxy
(
IFolderView2
*
This
,
PROPERTYKEY
*
pkey
,
BOOL
*
ascending
)
{
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
pkey
,
ascending
);
return
IFolderView2_RemoteGetGroupBy_Proxy
(
This
,
pkey
,
ascending
);
}
dlls/shell32/shlview.c
View file @
e91dac51
This diff is collapsed.
Click to expand it.
dlls/shell32/tests/shlview.c
View file @
e91dac51
...
...
@@ -536,6 +536,7 @@ static void test_IFolderView(void)
FOLDERSETTINGS
settings
;
IShellView
*
view
;
IShellBrowser
*
browser
;
IFolderView2
*
fv2
;
IFolderView
*
fv
;
HWND
hwnd_view
,
hwnd_list
;
PITEMID_CHILD
pidl
;
...
...
@@ -680,6 +681,11 @@ if (0)
"expected same refcount, got %d
\n
"
,
ref2
);
ok
(
desktop
==
folder
,
"
\n
"
);
hr
=
IFolderView_QueryInterface
(
fv
,
&
IID_IFolderView2
,
(
void
**
)
&
fv2
);
if
(
hr
!=
S_OK
)
win_skip
(
"IFolderView2 is not supported.
\n
"
);
if
(
fv2
)
IFolderView2_Release
(
fv2
);
IShellBrowser_Release
(
browser
);
IFolderView_Release
(
fv
);
IShellView_Release
(
view
);
...
...
include/shobjidl.idl
View file @
e91dac51
...
...
@@ -877,6 +877,126 @@ interface IFolderView : IUnknown
)
;
}
[
v1_enum
]
enum
tagSORTDIRECTION
{
SORT_DESCENDING
=
-
1
,
SORT_ASCENDING
=
1
}
;
typedef
int
SORTDIRECTION
;
typedef
struct
SORTCOLUMN
{
PROPERTYKEY
propkey
;
SORTDIRECTION
direction
;
}
SORTCOLUMN
;
typedef
[
v1_enum
]
enum
FVTEXTTYPE
{
FVST_EMPTYTEXT
=
0
}
FVTEXTTYPE
;
[
uuid
(
1
af3a467
-
214
f
-
4298
-908e-06
b03e0b39f9
),
object
,
pointer_default
(
unique
)
]
interface
IFolderView2
:
IFolderView
{
HRESULT
SetGroupBy
(
[
in
]
REFPROPERTYKEY
key
,
[
in
]
BOOL
ascending
)
;
[
local
]
HRESULT
GetGroupBy
(
[
out
]
PROPERTYKEY
*
pkey
,
[
out
]
BOOL
*
ascending
)
;
[
call_as
(
GetGroupBy
)
]
HRESULT
RemoteGetGroupBy
(
[
out
]
PROPERTYKEY
*
pkey
,
[
out
]
BOOL
*
ascending
)
;
HRESULT
SetViewProperty
(
[
in
]
PCUITEMID_CHILD
pidl
,
[
in
]
REFPROPERTYKEY
propkey
,
[
in
]
REFPROPVARIANT
propvar
)
;
HRESULT
GetViewProperty
(
[
in
]
PCUITEMID_CHILD
pidl
,
[
in
]
REFPROPERTYKEY
propkey
,
[
out
]
PROPVARIANT
*
propvar
)
;
HRESULT
SetTileViewProperties
(
[
in
]
PCUITEMID_CHILD
pidl
,
[
in
,
string
]
LPCWSTR
prop_list
)
;
HRESULT
SetExtendedTileViewProperties
(
[
in
]
PCUITEMID_CHILD
pidl
,
[
in
,
string
]
LPCWSTR
prop_list
)
;
HRESULT
SetText
(
[
in
]
FVTEXTTYPE
type
,
[
in
]
LPCWSTR
text
)
;
HRESULT
SetCurrentFolderFlags
(
[
in
]
DWORD
mask
,
[
in
]
DWORD
flags
)
;
HRESULT
GetCurrentFolderFlags
(
[
out
]
DWORD
*
flags
)
;
HRESULT
GetSortColumnCount
(
[
out
]
int
*
columns
)
;
HRESULT
SetSortColumns
(
[
in
,
size_is
(
count
)
]
const
SORTCOLUMN
*
columns
,
[
in
]
int
count
)
;
HRESULT
GetSortColumns
(
[
out
,
size_is
(
count
)
]
SORTCOLUMN
*
columns
,
[
in
]
int
count
)
;
HRESULT
GetItem
(
[
in
]
int
ittem
,
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
void
**
ppv
)
;
HRESULT
GetVisibleItem
(
[
in
]
int
start
,
[
in
]
BOOL
previous
,
[
out
]
int
*
item
)
;
HRESULT
GetSelectedItem
(
[
in
]
int
start
,
[
out
]
int
*
item
)
;
HRESULT
GetSelection
(
[
in
]
BOOL
none_implies_folder
,
[
out
]
IShellItemArray
**
array
)
;
HRESULT
GetSelectionState
(
[
in
]
PCUITEMID_CHILD
pidl
,
[
out
]
DWORD
*
flags
)
;
HRESULT
InvokeVerbOnSelection
(
[
in
,
unique
,
string
]
LPCSTR
verb
)
;
HRESULT
SetViewModeAndIconSize
(
[
in
]
FOLDERVIEWMODE
mode
,
[
in
]
int
size
)
;
HRESULT
GetViewModeAndIconSize
(
[
out
]
FOLDERVIEWMODE
*
mode
,
[
out
]
int
*
size
)
;
HRESULT
SetGroupSubsetCount
(
[
in
]
UINT
visible_rows
)
;
HRESULT
GetGroupSubsetCount
(
[
out
]
UINT
*
visible_rows
)
;
HRESULT
SetRedraw
(
[
in
]
BOOL
redraw
)
;
HRESULT
IsMoveInSameFolder
()
;
HRESULT
DoRename
()
;
}
/*****************************************************************************
*
IShellBrowser
interface
*/
...
...
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