NTSHChangeNotifyRegister completed and to spec

svn path=/trunk/; revision=29529
This commit is contained in:
Mike Nordell 2007-10-12 08:15:37 +00:00
parent cfb9429c6e
commit 520357b1d4

View file

@ -409,21 +409,20 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
/************************************************************************* /*************************************************************************
* NTSHChangeNotifyRegister [SHELL32.640] * NTSHChangeNotifyRegister [SHELL32.640]
* NOTES * NOTES
* Idlist is an array of structures and Count specifies how many items in the array * Idlist is an array of structures and Count specifies how many items in the array.
* (usually just one I think). * count should always be one when calling SHChangeNotifyRegister, or
* SHChangeNotifyDeregister will not work properly.
*/ */
DWORD WINAPI NTSHChangeNotifyRegister( ULONG WINAPI NTSHChangeNotifyRegister(
HWND hwnd, HWND hwnd,
LONG events1, int fSources,
LONG events2, LONG fEvents,
DWORD msg, UINT msg,
int count, int count,
SHChangeNotifyEntry *idlist) SHChangeNotifyEntry *idlist)
{ {
FIXME("(%p,0x%08x,0x%08x,0x%08x,0x%08x,%p):semi stub.\n", return SHChangeNotifyRegister(hwnd, fSources | SHCNRF_NewDelivery,
hwnd,events1,events2,msg,count,idlist); fEvents, msg, count, idlist);
return (DWORD) SHChangeNotifyRegister(hwnd, events1, events2, msg, count, idlist);
} }
/************************************************************************* /*************************************************************************