[PATCH 2/5] shell32: Move RegisterShellHook() definitions to shellord.c.

Zebediah Figura zfigura at codeweavers.com
Wed Feb 2 22:56:38 CST 2022


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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,
-- 
2.34.1




More information about the wine-devel mailing list