ReactOS  0.4.13-dev-259-g5ca9c9c
browseui_undoc.h
Go to the documentation of this file.
1 /*
2  * ReactOS shlwapi
3  *
4  * Copyright 2009 Andrew Hill <ash77 at domain reactos.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 #ifndef __BROWSEUI_UNDOC_H
22 #define __BROWSEUI_UNDOC_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
27 
28 typedef struct IEThreadParamBlock
29 {
30  long offset0;
32  long offset8;
34  long offset10;
37  char offset1C[0x70-0x1C]; // unknown contents -- 0x1C..0x6c
39  long offset74; // unknown contents
51  char offsetA4[0xD8-0xA4]; // unknown contents -- 0xA4..0xD8
53  char offsetDC[0xF8-0xDC]; // unknown contents -- 0xDC..0xF8
54  IUnknown * offsetF8; // instance explorer
55  LONG offsetFC; // unknown contents
57 
59 {
63  int nCmdShow;
75 
76 #define SH_EXPLORER_CMDLINE_FLAG_ONE 0x00000001
77 #define SH_EXPLORER_CMDLINE_FLAG_S 0x00000002
78 // unknown/unused 0x00000004
79 #define SH_EXPLORER_CMDLINE_FLAG_E 0x00000008
80 // unknown/unused 0x00000010
81 // unknown/unused 0x00000020
82 #define SH_EXPLORER_CMDLINE_FLAG_SELECT 0x00000040
83 #define SH_EXPLORER_CMDLINE_FLAG_EMBED 0x00000080
84 // unknown/unused 0x00000100
85 #define SH_EXPLORER_CMDLINE_FLAG_IDLIST 0x00000200
86 #define SH_EXPLORER_CMDLINE_FLAG_INPROC 0x00000400
87 // unknown/unused 0x00000800
88 #define SH_EXPLORER_CMDLINE_FLAG_NOUI 0x00001000
89 // unknown/unused 0x00002000
90 #define SH_EXPLORER_CMDLINE_FLAG_N 0x00004000
91 // unknown/unused 0x00008000
92 // unknown/unused 0x00010000
93 #define SH_EXPLORER_CMDLINE_FLAG_SEPARATE 0x00020000
94 // unknown/unused 0x00040000
95 // unknown/unused 0x00080000
96 // unknown/unused 0x00100000
97 // unknown/unused 0x00200000
98 // unknown/unused 0x00400000
99 // unknown/unused 0x00800000
100 // unknown/unused 0x01000000
101 #define SH_EXPLORER_CMDLINE_FLAG_STRING 0x02000000
102 
103 #define WM_EXPLORER_OPEN_NEW_WINDOW (WM_USER+11)
104 #define WM_EXPLORER_1037 (WM_USER+13)
105 
106 void WINAPI InitOCHostClass(long param8);
108 void WINAPI SHCreateSavedWindows(void);
111 void WINAPI UEMRegisterNotify(long param8, long paramC);
112 HRESULT WINAPI SHCreateBandForPidl(LPCITEMIDLIST param8, IUnknown *paramC, BOOL param10);
113 HRESULT WINAPI SHPidlFromDataObject(IDataObject *param8, long *paramC, long param10, FILEDESCRIPTORW *param14);
114 long WINAPI IDataObject_GetDeskBandState(long param8);
115 PIE_THREAD_PARAM_BLOCK WINAPI SHCreateIETHREADPARAM(long param8, long paramC, IUnknown *param10, IUnknown *param14);
117 long WINAPI SHParseIECommandLine(long param8, long paramC);
119 BOOL WINAPI SHOnCWMCommandLine(HANDLE hSharedInfo);
123 HRESULT WINAPI IUnknown_SetBandInfoSFB(IUnknown *param8, long paramC);
125 HRESULT WINAPI SHGetNavigateTarget(long param8, long paramC, long param10, long param14);
126 HRESULT WINAPI GetInfoTip(IUnknown *param8, long paramC, LPTSTR *param10, long cchMax);
127 HRESULT WINAPI SHEnumClassesOfCategories(ULONG cImplemented, CATID *pImplemented, ULONG cRequired, CATID *pRequired, IEnumGUID **out);
128 HRESULT WINAPI SHWriteClassesOfCategories(long param8, long paramC, long param10, long param14, long param18, long param1C, long param20);
130 HRESULT WINAPI SHOpenNewFrame(LPITEMIDLIST pidl, IUnknown *paramC, long param10, DWORD dwFlags);
131 
132 
133 #define INTERFACE IACLCustomMRU
134 DECLARE_INTERFACE_IID_(IACLCustomMRU, IUnknown, "F729FC5E-8769-4F3E-BDB2-D7B50FD2275B")
135 {
136  // *** IUnknown methods ***
140 
141  // *** IACLCustomMRU specific methods ***
142  STDMETHOD(Initialize) (THIS_ LPCWSTR pwszMRURegKey, DWORD dwMax) PURE;
143  STDMETHOD(AddMRUString) (THIS_ LPCWSTR pwszEntry) PURE;
144 };
145 #undef INTERFACE
146 
147 #ifdef __cplusplus
148 } /* extern "C" */
149 #endif /* defined(__cplusplus) */
150 
151 #endif /* __BROWSEUI_UNDOC_H */
BOOL WINAPI SHIsExplorerBrowser(void)
#define REFIID
Definition: guiddef.h:113
long WINAPI SHOpenFolderWindow(PIE_THREAD_PARAM_BLOCK parameters)
Definition: desktopipc.cpp:548
void WINAPI UEMRegisterNotify(long param8, long paramC)
Definition: browseuiord.cpp:47
#define THIS_
Definition: basetyps.h:65
PIE_THREAD_PARAM_BLOCK WINAPI SHCreateIETHREADPARAM(long param8, long paramC, IUnknown *param10, IUnknown *param14)
Definition: desktopipc.cpp:450
_In_ BOOLEAN Release
Definition: classpnp.h:929
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define THIS
Definition: basetyps.h:66
LPITEMIDLIST WINAPI Channel_GetFolderPidl(void)
Definition: browseuiord.cpp:86
REFIID riid
Definition: precomp.h:44
void WINAPI InitOCHostClass(long param8)
Definition: browseuiord.cpp:26
BOOL WINAPI SHOnCWMCommandLine(HANDLE hSharedInfo)
Definition: desktopipc.cpp:530
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
HRESULT WINAPI SHCreateBandForPidl(LPCITEMIDLIST param8, IUnknown *paramC, BOOL param10)
Definition: browseuiord.cpp:54
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT WINAPI SHPidlFromDataObject(IDataObject *param8, long *paramC, long param10, FILEDESCRIPTORW *param14)
Definition: browseuiord.cpp:62
HRESULT WINAPI SHGetNavigateTarget(long param8, long paramC, long param10, long param14)
IUnknown *WINAPI ChannelBand_Create(LPITEMIDLIST pidl)
Definition: browseuiord.cpp:94
void WINAPI SHDestroyIETHREADPARAM(PIE_THREAD_PARAM_BLOCK param)
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
struct ExplorerCommandLineParseResults * PEXPLORER_CMDLINE_PARSE_RESULTS
HRESULT WINAPI IUnknown_SetBandInfoSFB(IUnknown *param8, long paramC)
CHAR * LPTSTR
Definition: xmlstorage.h:192
#define STDMETHOD(m)
Definition: basetyps.h:62
LPITEMIDLIST offset80
void WINAPI SHCreateSavedWindows(void)
Definition: browseuiord.cpp:35
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
struct IEThreadParamBlock * PIE_THREAD_PARAM_BLOCK
HRESULT WINAPI SHWriteClassesOfCategories(long param8, long paramC, long param10, long param14, long param18, long param1C, long param20)
HRESULT WINAPI Channels_SetBandInfoSFB(IUnknown *param8)
LPITEMIDLIST offset7C
struct IEThreadParamBlock IE_THREAD_PARAM_BLOCK
LONG HRESULT
Definition: typedefs.h:77
DECLARE_INTERFACE_IID_(IACLCustomMRU, IUnknown, "F729FC5E-8769-4F3E-BDB2-D7B50FD2275B")
GLfloat param
Definition: glext.h:5796
#define WINAPI
Definition: msvc.h:8
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
UINT cchMax
UINT_PTR WINAPI SHExplorerParseCmdLine(PEXPLORER_CMDLINE_PARSE_RESULTS pParseResults)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
BOOL WINAPI SHCreateFromDesktop(PEXPLORER_CMDLINE_PARSE_RESULTS parseResults)
HRESULT WINAPI GetInfoTip(IUnknown *param8, long paramC, LPTSTR *param10, long cchMax)
PIE_THREAD_PARAM_BLOCK WINAPI SHCloneIETHREADPARAM(PIE_THREAD_PARAM_BLOCK param)
long WINAPI IDataObject_GetDeskBandState(long param8)
Definition: browseuiord.cpp:70
HRESULT WINAPI SHEnumClassesOfCategories(ULONG cImplemented, CATID *pImplemented, ULONG cRequired, CATID *pRequired, IEnumGUID **out)
BOOL Initialize(HINSTANCE hInstance)
Definition: msconfig.c:341
struct ExplorerCommandLineParseResults EXPLORER_CMDLINE_PARSE_RESULTS
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
HRESULT WINAPI SHOpenNewFrame(LPITEMIDLIST pidl, IUnknown *paramC, long param10, DWORD dwFlags)
Definition: desktopipc.cpp:578
unsigned int ULONG
Definition: retypes.h:1
char offsetDC[0xF8-0xDC]
char offset1C[0x70-0x1C]
WCHAR * LPWSTR
Definition: xmlstorage.h:184
long WINAPI SHParseIECommandLine(long param8, long paramC)
Definition: browseuiord.cpp:78
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
char offsetA4[0xD8-0xA4]
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
LPITEMIDLIST directoryPIDL
HRESULT WINAPI Channel_QuickLaunch(void)