Ignore:
Timestamp:
Mar 8, 2013, 7:05:25 AM (12 years ago)
Author:
Dmitry A. Kuminov
Message:

xsystray: Fix build break in GCC 4.4.6.

File:
1 edited

Legend:

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

    r952 r1126  
    248248}
    249249
    250 BOOL xstQuerySysTrayVersion(PULONG pulMajor,
    251                             PULONG pulMinor,
    252                             PULONG pulRevision)
     250XSTAPI(BOOL, xstQuerySysTrayVersion)(PULONG pulMajor,
     251                                     PULONG pulMinor,
     252                                     PULONG pulRevision)
    253253{
    254254    BOOL brc;
     
    276276}
    277277
    278 BOOL xstAddSysTrayIcon(HWND hwnd,
    279                        USHORT usId,
    280                        HPOINTER hIcon,
    281                        PCSZ pcszToolTip,
    282                        ULONG ulMsgId,
    283                        ULONG ulFlags)
     278XSTAPI(BOOL, xstAddSysTrayIcon)(HWND hwnd,
     279                                USHORT usId,
     280                                HPOINTER hIcon,
     281                                PCSZ pcszToolTip,
     282                                ULONG ulMsgId,
     283                                ULONG ulFlags)
    284284{
    285285    BOOL    brc;
     
    397397}
    398398
    399 BOOL xstReplaceSysTrayIcon(HWND hwnd,
    400                            USHORT usId,
    401                            HPOINTER hIcon)
     399XSTAPI(BOOL, xstReplaceSysTrayIcon)(HWND hwnd,
     400                                    USHORT usId,
     401                                    HPOINTER hIcon)
    402402{
    403403    BOOL    brc;
     
    433433}
    434434
    435 BOOL xstRemoveSysTrayIcon(HWND hwnd,
    436                           USHORT usId)
     435XSTAPI(BOOL, xstRemoveSysTrayIcon)(HWND hwnd,
     436                                   USHORT usId)
    437437{
    438438    BOOL brc;
     
    481481}
    482482
    483 BOOL xstSetSysTrayIconToolTip(HWND hwnd,
    484                               USHORT usId,
    485                               PCSZ pcszToolTip)
     483XSTAPI(BOOL, xstSetSysTrayIconToolTip)(HWND hwnd,
     484                                       USHORT usId,
     485                                       PCSZ pcszToolTip)
    486486{
    487487    BOOL brc;
     
    511511}
    512512
    513 BOOL xstShowSysTrayIconBalloon(HWND hwnd, USHORT usId, PCSZ pcszTitle,
    514                                PCSZ pcszText, ULONG ulFlags, ULONG ulTimeout)
     513XSTAPI(BOOL, xstShowSysTrayIconBalloon)(HWND hwnd, USHORT usId, PCSZ pcszTitle,
     514                                        PCSZ pcszText, ULONG ulFlags, ULONG ulTimeout)
    515515{
    516516    // @todo implement
     
    518518}
    519519
    520 BOOL xstHideSysTrayIconBalloon(HWND hwnd, USHORT usId)
     520XSTAPI(BOOL, xstHideSysTrayIconBalloon)(HWND hwnd, USHORT usId)
    521521{
    522522    // @todo implement
     
    524524}
    525525
    526 BOOL xstQuerySysTrayIconRect(HWND hwnd, USHORT usId, PRECTL prclRect)
     526XSTAPI(BOOL, xstQuerySysTrayIconRect)(HWND hwnd, USHORT usId, PRECTL prclRect)
    527527{
    528528    BOOL brc;
     
    546546}
    547547
    548 ULONG xstGetSysTrayCreatedMsgId()
     548XSTAPI(ULONG, xstGetSysTrayCreatedMsgId)()
    549549{
    550550    if (WM_XST_CREATED == 0)
     
    554554}
    555555
    556 ULONG xstGetSysTrayMaxTextLen()
     556XSTAPI(ULONG, xstGetSysTrayMaxTextLen)()
    557557{
    558558    return sizeof(((PSYSTRAYCTLDATA)0)->u.icon.szToolTip);
Note: See TracChangeset for help on using the changeset viewer.