Commit c6670526 authored by Rolf Kalbermatter's avatar Rolf Kalbermatter Committed by Alexandre Julliard

Change protoype of SHChangeNotifyRegister to what MSDN says.

Remove an unsigned mismatch warning.
parent a3f6410f
...@@ -185,17 +185,17 @@ SHChangeNotifyRegister( ...@@ -185,17 +185,17 @@ SHChangeNotifyRegister(
HWND hwnd, HWND hwnd,
LONG dwFlags, LONG dwFlags,
LONG wEventMask, LONG wEventMask,
DWORD uMsg, UINT uMsg,
int cItems, int cItems,
LPCNOTIFYREGISTER lpItems) LPCNOTIFYREGISTER lpItems)
{ {
LPNOTIFICATIONLIST item; LPNOTIFICATIONLIST item;
DWORD i; int i;
item = SHAlloc(sizeof(NOTIFICATIONLIST)); item = SHAlloc(sizeof(NOTIFICATIONLIST));
TRACE("(%p,0x%08lx,0x%08lx,0x%08lx,0x%08x,%p) item=%p\n", TRACE("(%p,0x%08lx,0x%08lx,0x%08x,0x%08x,%p) item=%p\n",
hwnd,dwFlags,wEventMask,uMsg,cItems,lpItems,item); hwnd, dwFlags, wEventMask, uMsg, cItems, lpItems, item);
item->next = NULL; item->next = NULL;
item->prev = NULL; item->prev = NULL;
......
...@@ -137,9 +137,10 @@ HRESULT WINAPI StrRetToStrNAW ( ...@@ -137,9 +137,10 @@ HRESULT WINAPI StrRetToStrNAW (
/**************************************************************************** /****************************************************************************
* SHChangeNotifyRegister API * SHChangeNotifyRegister API
*/ */
#define SHCNF_ACCEPT_INTERRUPTS 0x0001 #define SHCNRF_InterruptLevel 0x0001
#define SHCNF_ACCEPT_NON_INTERRUPTS 0x0002 #define SHCNRF_ShellLevel 0x0002
#define SHCNF_NO_PROXY 0x8001 #define SHCNRF_RecursiveInterrupt 0x1000 /* Must be combined with SHCNRF_InterruptLevel */
#define SHCNRF_NewDelivery 0x8000 /* Messages use shared memory */
typedef struct typedef struct
{ {
...@@ -160,7 +161,7 @@ HANDLE WINAPI SHChangeNotifyRegister( ...@@ -160,7 +161,7 @@ HANDLE WINAPI SHChangeNotifyRegister(
HWND hwnd, HWND hwnd,
LONG dwFlags, LONG dwFlags,
LONG wEventMask, LONG wEventMask,
DWORD uMsg, UINT uMsg,
int cItems, int cItems,
LPCNOTIFYREGISTER lpItems); LPCNOTIFYREGISTER lpItems);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment