Change protoype of SHChangeNotifyRegister to what MSDN says.

Remove an unsigned mismatch warning.
This commit is contained in:
Rolf Kalbermatter 2003-08-29 22:11:23 +00:00 committed by Alexandre Julliard
parent a3f6410f9e
commit c6670526ad
2 changed files with 9 additions and 8 deletions

View File

@ -185,17 +185,17 @@ SHChangeNotifyRegister(
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;

View File

@ -137,9 +137,10 @@ HRESULT WINAPI StrRetToStrNAW (
/****************************************************************************
* 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 @@ HANDLE WINAPI SHChangeNotifyRegister(
HWND hwnd,
LONG dwFlags,
LONG wEventMask,
DWORD uMsg,
UINT uMsg,
int cItems,
LPCNOTIFYREGISTER lpItems);