Changeset 21600 for trunk/src/shell32/systray.c
- Timestamp:
- Mar 23, 2011, 5:52:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/systray.c
r21592 r21600 27 27 #include "config.h" 28 28 #include "winuser32.h" 29 #include "auxthread.h" 29 30 30 31 #include "systray.h" … … 227 228 } 228 229 229 /************************************************************************* 230 * Shell_NotifyIconA [SHELL32.297][SHELL32.296] 231 */ 232 BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid ) 233 { 230 static PVOID Do_Shell_NotifyIconA(PVOID arg1, PVOID arg2, 231 PVOID arg3, PVOID arg4) 232 { 233 DWORD dwMessage = (DWORD)arg1; 234 PNOTIFYICONDATAA pnid = (PNOTIFYICONDATAA)arg2; 235 234 236 BOOL flag = FALSE; 235 237 switch(dwMessage) … … 245 247 break; 246 248 } 247 return flag; 249 return (PVOID)flag; 250 } 251 252 /************************************************************************* 253 * Shell_NotifyIconA [SHELL32.297][SHELL32.296] 254 */ 255 BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid ) 256 { 257 PVOID ret; 258 BOOL brc = RunOnAuxThreadAndWait(Do_Shell_NotifyIconA, 259 (PVOID)dwMessage, (PVOID)pnid, 260 NULL, NULL, &ret); 261 if (brc) 262 brc = (BOOL)ret; 263 return brc; 248 264 } 249 265
Note:
See TracChangeset
for help on using the changeset viewer.