Author: gadamopoulos
Date: Tue Jun 13 15:00:50 2017
New Revision: 75025
URL:
http://svn.reactos.org/svn/reactos?rev=75025&view=rev
Log:
[PSDK] -Add IShellFolderBand and IFolderBandPriv interfaces.
Modified:
branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shlobj.h
branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shobjidl.idl
Modified: branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shlobj.h
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2017/shellext/reactos/sdk/…
==============================================================================
--- branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shlobj.h [iso-8859-1] (original)
+++ branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shlobj.h [iso-8859-1] Tue Jun 13
15:00:50 2017
@@ -2384,6 +2384,39 @@
typedef void (CALLBACK *PFNASYNCICONTASKBALLBACK)(LPCITEMIDLIST pidl, LPVOID pvData,
LPVOID pvHint, INT iIconIndex, INT iOpenIconIndex);
+#include <pshpack8.h>
+
+typedef struct {
+ DWORD dwMask;
+ DWORD dwStateMask;
+ DWORD dwState;
+ COLORREF crBkgnd;
+ COLORREF crBtnLt;
+ COLORREF crBtnDk;
+ WORD wViewMode;
+ WORD wAlign;
+ IShellFolder * psf;
+ PIDLIST_ABSOLUTE pidl;
+} BANDINFOSFB, *PBANDINFOSFB;
+
+#include <poppack.h>
+
+#undef INTERFACE
+#define INTERFACE IShellFolderBand
+
+DECLARE_INTERFACE_(IShellFolderBand, IUnknown)
+{
+ // *** IUnknown methods ***
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, __out void **ppv) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
+ // *** IShellFolderBand Methods ***
+ STDMETHOD(InitializeSFB)(THIS_ IShellFolder *psf, PCIDLIST_ABSOLUTE pidl) PURE;
+ STDMETHOD(SetBandInfoSFB)(THIS_ PBANDINFOSFB pbi) PURE;
+ STDMETHOD(GetBandInfoSFB)(THIS_ PBANDINFOSFB pbi) PURE;
+};
+
/*****************************************************************************
* Control Panel functions
*/
Modified: branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shobjidl.idl
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2017/shellext/reactos/sdk/…
==============================================================================
--- branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shobjidl.idl [iso-8859-1]
(original)
+++ branches/GSoC_2017/shellext/reactos/sdk/include/psdk/shobjidl.idl [iso-8859-1] Tue Jun
13 15:00:50 2017
@@ -4458,3 +4458,20 @@
[in] DWORD dwReleaseStatus,
[in] DWORD dwThreadTimeout);
}
+
+
+[
+ uuid(47c01f95-e185-412c-b5c5-4f27df965aea),
+ object,
+ pointer_default(unique)
+]
+interface IFolderBandPriv : IUnknown
+{
+ HRESULT SetCascade([in] BOOL fCascade);
+
+ HRESULT SetAccelerators([in] BOOL fAccelerators);
+
+ HRESULT SetNoIcons([in] BOOL fNoIcons);
+
+ HRESULT SetNoText([in] BOOL fNoText);
+}