Changelog - dlls/shell32/undocshell.h Change protoype and constants of SHChangeNotifyRegister to what MSDN says. Since the function is now documented this prototype should proably move to shlobj.h The constants are explained in the document but it is explicitedly mentioned that they are not defined in any header, so they might have to stay here. - dlls/shell32/changenotify.c Change protoype of SHChangeNotifyRegister to what MSDN says Remove an unsigned mismatch warning License: X11/LGPL Rolf Kalbermatter Index: undocshell.h =================================================================== RCS file: /home/wine/wine/dlls/shell32/undocshell.h,v retrieving revision 1.12 diff -u -r1.12 undocshell.h --- dlls/shell32/undocshell.h 19 May 2003 18:54:01 -0000 1.12 +++ dlls/shell32/undocshell.h 28 Aug 2003 21:12:45 -0000 @@ -137,9 +137,10 @@ /**************************************************************************** * SHChangeNotifyRegister API */ -#define SHCNF_ACCEPT_INTERRUPTS 0x0001 -#define SHCNF_ACCEPT_NON_INTERRUPTS 0x0002 -#define SHCNF_NO_PROXY 0x8001 +#define SHCNRF_InterruptLevel 0x0001 +#define SHCNRF_ShellLevel 0x0002 +#define SHCNRF_RecursiveInterrupt 0x1000 /* Must be combined with SHCNRF_InterruptLevel */ +#define SHCNRF_NewDelivery 0x8000 /* Messages use shared memory */ typedef struct { @@ -160,7 +161,7 @@ HWND hwnd, LONG dwFlags, LONG wEventMask, - DWORD uMsg, + UINT uMsg, int cItems, LPCNOTIFYREGISTER lpItems); =================================================================== RCS file: /home/wine/wine/dlls/shell32/changenotify.c,v retrieving revision 1.23 diff -u -r1.23 changenotify.c --- dlls/shell32/changenotify.c 12 Aug 2003 23:50:55 -0000 1.23 +++ dlls/shell32/changenotify.c 28 Aug 2003 21:12:40 -0000 @@ -185,17 +185,17 @@ HWND hwnd, LONG dwFlags, LONG wEventMask, - DWORD uMsg, + UINT uMsg, int cItems, LPCNOTIFYREGISTER lpItems) { LPNOTIFICATIONLIST item; - DWORD i; + int i; item = SHAlloc(sizeof(NOTIFICATIONLIST)); - TRACE("(%p,0x%08lx,0x%08lx,0x%08lx,0x%08x,%p) item=%p\n", - hwnd,dwFlags,wEventMask,uMsg,cItems,lpItems,item); + TRACE("(%p,0x%08lx,0x%08lx,0x%08x,0x%08x,%p) item=%p\n", + hwnd, dwFlags, wEventMask, uMsg, cItems, lpItems, item); item->next = NULL; item->prev = NULL;