Henri Verbeet : shell32: Add the IShellView2 interface.
Alexandre Julliard
julliard at winehq.org
Tue Oct 14 08:30:01 CDT 2008
Module: wine
Branch: master
Commit: 6176cf4e9734eef0eed26ad6c1e156806517527e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6176cf4e9734eef0eed26ad6c1e156806517527e
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Oct 14 09:01:08 2008 +0200
shell32: Add the IShellView2 interface.
---
include/shlobj.h | 2 --
include/shobjidl.idl | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/include/shlobj.h b/include/shlobj.h
index 5ed4978..6480023 100644
--- a/include/shlobj.h
+++ b/include/shlobj.h
@@ -277,8 +277,6 @@ typedef struct
* IShellView interface
*/
-typedef GUID SHELLVIEWID;
-
#define FCIDM_SHVIEWFIRST 0x0000
/* undocumented */
#define FCIDM_SHVIEW_ARRANGE 0x7001
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index 95e532c..156d146 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -461,6 +461,44 @@ interface IShellView : IOleWindow
[out, iid_is(riid)] void **ppv);
}
+[
+ object,
+ uuid(88e39e80-3578-11cf-ae69-08002b2e1262),
+ pointer_default(unique)
+]
+interface IShellView2 : IShellView
+{
+ typedef GUID SHELLVIEWID;
+cpp_quote("#include <pshpack8.h>")
+ typedef struct _SV2CVW2_PARAMS
+ {
+ DWORD cbSize;
+ IShellView *psvPrev;
+ LPCFOLDERSETTINGS pfs;
+ IShellBrowser *psbOwner;
+ RECT *prcView;
+ SHELLVIEWID const *pvid;
+ HWND hwndView;
+ } SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS;
+cpp_quote("#include <poppack.h>")
+
+ HRESULT GetView(
+ [in, out] SHELLVIEWID *view_guid,
+ [in] ULONG view_type
+ );
+ HRESULT CreateViewWindow2(
+ [in] LPSV2CVW2_PARAMS view_params
+ );
+ HRESULT HandleRename(
+ [in] LPCITEMIDLIST new_pidl
+ );
+ HRESULT SelectAndPositionItem(
+ [in] LPCITEMIDLIST item,
+ [in] UINT flags,
+ [in] POINT *point
+ );
+}
+
/*****************************************************************************
* IShellBrowser interface
More information about the wine-cvs
mailing list