mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Change protoype of SHChangeNotifyRegister to what MSDN says.
Remove an unsigned mismatch warning.
This commit is contained in:
parent
a3f6410f9e
commit
c6670526ad
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user