Ignore:
Timestamp:
Mar 18, 2011, 10:45:50 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

xsystray: Finished r837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/os2/xsystray/apilib/xsystray.h

    r838 r840  
    108108 */
    109109
    110 XSTAPI(BOOL, xstQuerySysTrayVersion)(PULONG pulMajor, PULONG pulMinor,
    111                                      PULONG pulRevision);
     110XSTAPI(BOOL, xstQuerySysTrayVersion)
     111    (PULONG pulMajor,     // out: major version number
     112     PULONG pulMinor,     // out: minor version number
     113     PULONG pulRevision); // out: revision number
    112114
    113115/*
     
    152154 */
    153155
    154 XSTAPI(BOOL, xstAddSysTrayIcon)(HWND hwnd, USHORT usId, HPOINTER hIcon,
    155                                 PCSZ pcszToolTip, ULONG ulMsgId, ULONG ulFlags);
     156XSTAPI(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)
    156163
    157164/*
     
    164171 */
    165172
    166 XSTAPI(BOOL, xstReplaceSysTrayIcon)(HWND hwnd, USHORT usId, HPOINTER hIcon);
     173XSTAPI(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
    167177
    168178/*
     
    175185 */
    176186
    177 XSTAPI(BOOL, xstRemoveSysTrayIcon)(HWND hwnd, USHORT usId);
     187XSTAPI(BOOL, xstRemoveSysTrayIcon)
     188    (HWND hwnd,    // in: window handle associated with the icon
     189     USHORT usId); // in: icon ID to remove
    178190
    179191/*
     
    194206 */
    195207
    196 XSTAPI(BOOL, xstSetSysTrayIconToolTip)(HWND hwnd, USHORT usId, PCSZ pcszToolTip);
     208XSTAPI(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
    197212
    198213/*
     
    203218
    204219XSTAPI(BOOL, xstShowSysTrayIconBalloon)(HWND hwnd, USHORT usId, PCSZ pcszTitle,
    205                                       PCSZ pcszText, ULONG ulFlags,
    206                                       ULONG ulTimeout);
     220                                      PCSZ pcszText, ULONG ulFlags,
     221                                      ULONG ulTimeout);
    207222
    208223/*
     
    223238 */
    224239
    225 XSTAPI(BOOL, xstQuerySysTrayIconRect)(HWND hwnd, USHORT usId, PRECTL prclRect);
     240XSTAPI(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
    226244
    227245/*
Note: See TracChangeset for help on using the changeset viewer.