Changeset 952 for trunk/src/3rdparty/os2/xsystray/apilib
- Timestamp:
- Aug 9, 2011, 11:11:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/3rdparty/os2/xsystray/apilib/xsystray.c
r951 r952 223 223 PVOID pvMemoryPool = (PVOID)pQmsg->mp2; 224 224 225 // copy NOTIFYDATA and free it225 // 1) create a local copy of NOTIFYDATA 226 226 NOTIFYDATA NotifyData = *pNotifyData; 227 // 2) fix the mp2 pointer in it (which is always to one of u's structs) 228 NotifyData.mp2 -= (ULONG)pNotifyData; 229 NotifyData.mp2 += (ULONG)&NotifyData; 230 // 3) free the original to let it be reused by other processes ASAP 227 231 FreeNotifyDataPtr(pvMemoryPool, pQmsg->hwnd, pNotifyData); 228 232
Note:
See TracChangeset
for help on using the changeset viewer.