Ignore:
Timestamp:
Aug 23, 2014, 4:21:44 PM (11 years ago)
Author:
rousseau
Message:

Modified or replaced some structures

structures:
o DEVMODEA
o DEVMODEW
o NMLVCUSTOMDRAW
o NOTIFYICONDATAA
o NOTIFYICONDATAW
o OPENFILENAME
o OSVERSIONINFOA
o OSVERSIONINFOW
o OSVERSIONINFOEXA
o OSVERSIONINFOEXW
o SCROLLBARINFO
o SHELLEXECUTEINFOA
o SHELLEXECUTEINFOW
o TTTOOLINFOA
o TTTOOLINFOW

All sources for swt.dll now compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/include/win/commctrl.h

    r22080 r22081  
    16081608    LPSTR lpszText;
    16091609    LPARAM lParam;
     1610///-------------------------------------------------------------------[swt-os2]
     1611    void *lpReserved;
     1612///----------------------------------------------------------------------------
    16101613} TTTOOLINFOA, *LPTOOLINFOA, *PTOOLINFOA, *LPTTTOOLINFOA;
    16111614
     
    16191622    LPWSTR lpszText;
    16201623    LPARAM lParam;
     1624///-------------------------------------------------------------------[swt-os2]
     1625    void *lpReserved;
     1626///----------------------------------------------------------------------------
    16211627} TTTOOLINFOW, *LPTOOLINFOW, *PTOOLINFOW, *LPTTTOOLINFOW;
    16221628
     
    32323238#define NMLVCUSTOMDRAW_V3_SIZE CCSIZEOF_STRUCT(NMLCUSTOMDRW, clrTextBk)
    32333239
     3240///-------------------------------------------------------------------[swt-os2]
     3241/// Substituted the Wine structure, which is different in layout and size.
     3242/*
    32343243typedef struct tagNMLVCUSTOMDRAW
    32353244{
     
    32393248    int iSubItem;
    32403249} NMLVCUSTOMDRAW, *LPNMLVCUSTOMDRAW;
     3250*/
     3251typedef struct tagNMLVCUSTOMDRAW
     3252{
     3253    NMCUSTOMDRAW nmcd;
     3254    COLORREF clrText;
     3255    COLORREF clrTextBk;
     3256    int iSubItem;       /* (_WIN32_IE >= 0x0400) */
     3257    DWORD dwItemType;   /* (_WIN32_IE >= 0x560) */
     3258    COLORREF clrFace;   /* (_WIN32_IE >= 0x560) */
     3259    int iIconEffect;    /* (_WIN32_IE >= 0x560) */
     3260    int iIconPhase;     /* (_WIN32_IE >= 0x560) */
     3261    int iPartId;        /* (_WIN32_IE >= 0x560) */
     3262    int iStateId;       /* (_WIN32_IE >= 0x560) */
     3263    RECT rcText;        /* (_WIN32_IE >= 0x560) */
     3264    UINT uAlign;        /* (_WIN32_IE >= 0x560) */
     3265} NMLVCUSTOMDRAW, *LPNMLVCUSTOMDRAW;
     3266///----------------------------------------------------------------------------
    32413267
    32423268typedef struct tagNMLVCACHEHINT
Note: See TracChangeset for help on using the changeset viewer.