Skip to content

Commit 23b44a2

Browse files
committed
Split twinui.pcshell.dll patches into their own file
1 parent ea5881f commit 23b44a2

File tree

7 files changed

+2645
-2721
lines changed

7 files changed

+2645
-2721
lines changed

ExplorerPatcher/ArchiveMenu.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#include <Windows.h>
55
#include <Shlobj_core.h>
66

7+
#ifdef __cplusplus
8+
extern "C" {
9+
#endif
10+
711
#define OPEN_NAME L"&Open archive"
812
#define EXTRACT_NAME L"&Extract to \"%s\\\""
913
#define OPEN_CMD L"\"C:\\Program Files\\7-Zip\\7zFM.exe\" %s"
@@ -51,4 +55,8 @@ LRESULT CALLBACK ArchiveMenuWndProc(
5155
void(*ImmersiveContextMenuHelper_RemoveOwnerDrawFromMenuFunc)(HMENU hMenu, HWND hWnd)
5256
);
5357

58+
#ifdef __cplusplus
59+
}
60+
#endif
61+
5462
#endif

ExplorerPatcher/StartMenu.h

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -179,42 +179,6 @@ interface IImmersiveLauncher10RS
179179
CONST_VTBL struct IImmersiveLauncher10RSVtbl* lpVtbl;
180180
};
181181

182-
DEFINE_GUID(IID_ILauncherTipContextMenu,
183-
0xb8c1db5f,
184-
0xcbb3, 0x48bc, 0xaf, 0xd9,
185-
0xce, 0x6b, 0x88, 0x0c, 0x79, 0xed
186-
);
187-
188-
typedef interface ILauncherTipContextMenu ILauncherTipContextMenu;
189-
190-
typedef struct ILauncherTipContextMenuVtbl
191-
{
192-
BEGIN_INTERFACE
193-
194-
HRESULT(STDMETHODCALLTYPE* QueryInterface)(
195-
ILauncherTipContextMenu* This,
196-
/* [in] */ REFIID riid,
197-
/* [annotation][iid_is][out] */
198-
_COM_Outptr_ void** ppvObject);
199-
200-
ULONG(STDMETHODCALLTYPE* AddRef)(
201-
ILauncherTipContextMenu* This);
202-
203-
ULONG(STDMETHODCALLTYPE* Release)(
204-
ILauncherTipContextMenu* This);
205-
206-
HRESULT(STDMETHODCALLTYPE* ShowLauncherTipContextMenu)(
207-
ILauncherTipContextMenu* This,
208-
/* [in] */ POINT* pt);
209-
210-
END_INTERFACE
211-
} ILauncherTipContextMenuVtbl;
212-
213-
interface ILauncherTipContextMenu
214-
{
215-
CONST_VTBL struct ILauncherTipContextMenuVtbl* lpVtbl;
216-
};
217-
218182
void OpenStartOnMonitor(HMONITOR monitor);
219183

220184
// Slightly tweaked version of function available in Open Shell

0 commit comments

Comments
 (0)