Changeset 840
- Timestamp:
- Mar 18, 2011, 10:45:50 PM (14 years ago)
- Location:
- trunk/src/3rdparty/os2/xsystray/apilib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/3rdparty/os2/xsystray/apilib/xsystray.c
r839 r840 242 242 } 243 243 244 BOOL xstQuerySysTrayVersion(PULONG pulMajor, // out: major version number245 PULONG pulMinor, // out: minor version number246 PULONG pulRevision) // out: revision number244 BOOL xstQuerySysTrayVersion(PULONG pulMajor, 245 PULONG pulMinor, 246 PULONG pulRevision) 247 247 { 248 248 BOOL brc; … … 270 270 } 271 271 272 BOOL xstAddSysTrayIcon(HWND hwnd, // in: window handle associated with the icon273 USHORT usId, // in: icon ID to add274 HPOINTER hIcon, // in: icon handle275 PCSZ pcszToolTip, // in: tooltip text276 ULONG ulMsgId, // in: message ID for notifications277 ULONG ulFlags) // in: flags (not currently used, must be 0)272 BOOL xstAddSysTrayIcon(HWND hwnd, 273 USHORT usId, 274 HPOINTER hIcon, 275 PCSZ pcszToolTip, 276 ULONG ulMsgId, 277 ULONG ulFlags) 278 278 { 279 279 BOOL brc; … … 388 388 } 389 389 390 BOOL xstReplaceSysTrayIcon(HWND hwnd, // in: window handle associated with the icon391 USHORT usId, // in: icon ID to change392 HPOINTER hIcon) // in: new icon handle390 BOOL xstReplaceSysTrayIcon(HWND hwnd, 391 USHORT usId, 392 HPOINTER hIcon) 393 393 { 394 394 BOOL brc; … … 421 421 } 422 422 423 BOOL xstRemoveSysTrayIcon(HWND hwnd, // in: window handle associated with the icon424 USHORT usId) // in: icon ID to remove423 BOOL xstRemoveSysTrayIcon(HWND hwnd, 424 USHORT usId) 425 425 { 426 426 BOOL brc; … … 469 469 } 470 470 471 BOOL xstSetSysTrayIconToolTip(HWND hwnd, // in: window handle associated with the icon472 USHORT usId, // in: icon ID to set the tooltip for473 PCSZ pcszToolTip) // in: tooltip text471 BOOL xstSetSysTrayIconToolTip(HWND hwnd, 472 USHORT usId, 473 PCSZ pcszToolTip) 474 474 { 475 475 BOOL brc; -
trunk/src/3rdparty/os2/xsystray/apilib/xsystray.h
r838 r840 108 108 */ 109 109 110 XSTAPI(BOOL, xstQuerySysTrayVersion)(PULONG pulMajor, PULONG pulMinor, 111 PULONG pulRevision); 110 XSTAPI(BOOL, xstQuerySysTrayVersion) 111 (PULONG pulMajor, // out: major version number 112 PULONG pulMinor, // out: minor version number 113 PULONG pulRevision); // out: revision number 112 114 113 115 /* … … 152 154 */ 153 155 154 XSTAPI(BOOL, xstAddSysTrayIcon)(HWND hwnd, USHORT usId, HPOINTER hIcon, 155 PCSZ pcszToolTip, ULONG ulMsgId, ULONG ulFlags); 156 XSTAPI(BOOL, xstAddSysTrayIcon) 157 (HWND hwnd, // in: window handle associated with the icon 158 USHORT usId, // in: icon ID to add 159 HPOINTER hIcon, // in: icon handle 160 PCSZ pcszToolTip,// in: tooltip text 161 ULONG ulMsgId, // in: message ID for notifications 162 ULONG ulFlags); // in: flags (not currently used, must be 0) 156 163 157 164 /* … … 164 171 */ 165 172 166 XSTAPI(BOOL, xstReplaceSysTrayIcon)(HWND hwnd, USHORT usId, HPOINTER hIcon); 173 XSTAPI(BOOL, xstReplaceSysTrayIcon) 174 (HWND hwnd, // in: window handle associated with the icon 175 USHORT usId, // in: icon ID to change 176 HPOINTER hIcon); // in: new icon handle 167 177 168 178 /* … … 175 185 */ 176 186 177 XSTAPI(BOOL, xstRemoveSysTrayIcon)(HWND hwnd, USHORT usId); 187 XSTAPI(BOOL, xstRemoveSysTrayIcon) 188 (HWND hwnd, // in: window handle associated with the icon 189 USHORT usId); // in: icon ID to remove 178 190 179 191 /* … … 194 206 */ 195 207 196 XSTAPI(BOOL, xstSetSysTrayIconToolTip)(HWND hwnd, USHORT usId, PCSZ pcszToolTip); 208 XSTAPI(BOOL, xstSetSysTrayIconToolTip) 209 (HWND hwnd, // in: window handle associated with the icon 210 USHORT usId, // in: icon ID to set the tooltip for 211 PCSZ pcszToolTip); // in: tooltip text 197 212 198 213 /* … … 203 218 204 219 XSTAPI(BOOL, xstShowSysTrayIconBalloon)(HWND hwnd, USHORT usId, PCSZ pcszTitle, 205 PCSZ pcszText, ULONG ulFlags,206 ULONG ulTimeout);220 PCSZ pcszText, ULONG ulFlags, 221 ULONG ulTimeout); 207 222 208 223 /* … … 223 238 */ 224 239 225 XSTAPI(BOOL, xstQuerySysTrayIconRect)(HWND hwnd, USHORT usId, PRECTL prclRect); 240 XSTAPI(BOOL, xstQuerySysTrayIconRect) 241 (HWND hwnd, // in: window handle associated with the icon 242 USHORT usId, // in: icon ID to query the rectangle for 243 PRECTL prclRect); // out: where to store the returned rectangle 226 244 227 245 /*
Note:
See TracChangeset
for help on using the changeset viewer.