Zebediah Figura : shell32: Move RegisterShellHook() definitions to shellord.c.
Alexandre Julliard
julliard at winehq.org
Thu Feb 3 16:06:55 CST 2022
Module: wine
Branch: master
Commit: 6abfd74a8bb17bb27944fc796622e07f82560ebb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6abfd74a8bb17bb27944fc796622e07f82560ebb
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Wed Feb 2 22:56:38 2022 -0600
shell32: Move RegisterShellHook() definitions to shellord.c.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/shellord.c | 6 ++++++
dlls/shell32/undocshell.h | 10 ----------
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c
index a138f381a92..57308e1c988 100644
--- a/dlls/shell32/shellord.c
+++ b/dlls/shell32/shellord.c
@@ -55,6 +55,12 @@ WINE_DECLARE_DEBUG_CHANNEL(pidl);
#define SHWFF_REMOVE 0x02
#define SHWFF_WAIT 0x04
+/* RegisterShellHook types */
+#define RSH_DEREGISTER 0
+#define RSH_REGISTER 1
+#define RSH_REGISTER_PROGMAN 2
+#define RSH_REGISTER_TASKMAN 3
+
/* FIXME: !!! move CREATEMRULIST and flags to header file !!! */
/* !!! it is in both here and comctl32undoc.c !!! */
typedef struct tagCREATEMRULIST
diff --git a/dlls/shell32/undocshell.h b/dlls/shell32/undocshell.h
index 459c51c8454..dd20090d7bd 100644
--- a/dlls/shell32/undocshell.h
+++ b/dlls/shell32/undocshell.h
@@ -211,16 +211,6 @@ BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID *sOtherDirs);
WORD WINAPI ArrangeWindows(HWND hwndParent, DWORD dwReserved, const RECT *lpRect,
WORD cKids, const HWND *lpKids);
-/* RegisterShellHook types */
-#define RSH_DEREGISTER 0
-#define RSH_REGISTER 1
-#define RSH_REGISTER_PROGMAN 2
-#define RSH_REGISTER_TASKMAN 3
-
-BOOL WINAPI RegisterShellHook(
- HWND hWnd,
- DWORD dwType);
-
/* SHCreateDefClassObject callback function */
typedef HRESULT (CALLBACK *LPFNCDCOCALLBACK)(
LPUNKNOWN pUnkOuter,
More information about the wine-cvs
mailing list