shell32: Add the IShellView2 interface.

This commit is contained in:
Henri Verbeet 2008-10-14 09:01:08 +02:00 committed by Alexandre Julliard
parent 69871bedf1
commit 6176cf4e97
2 changed files with 38 additions and 2 deletions

View File

@ -277,8 +277,6 @@ typedef struct
* IShellView interface * IShellView interface
*/ */
typedef GUID SHELLVIEWID;
#define FCIDM_SHVIEWFIRST 0x0000 #define FCIDM_SHVIEWFIRST 0x0000
/* undocumented */ /* undocumented */
#define FCIDM_SHVIEW_ARRANGE 0x7001 #define FCIDM_SHVIEW_ARRANGE 0x7001

View File

@ -461,6 +461,44 @@ interface IShellView : IOleWindow
[out, iid_is(riid)] void **ppv); [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 * IShellBrowser interface