Ignore:
Timestamp:
Oct 29, 2002, 1:16:15 PM (23 years ago)
Author:
sandervl
Message:

header updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/commctrl.h

    r8386 r9367  
    11/*
    22 * Common controls definitions
     3 *
     4 * Copyright (C) the Wine project
     5 *
     6 * This library is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU Lesser General Public
     8 * License as published by the Free Software Foundation; either
     9 * version 2.1 of the License, or (at your option) any later version.
     10 *
     11 * This library is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14 * Lesser General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU Lesser General Public
     17 * License along with this library; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    319 */
    420
     
    232248        HDC     hdc;
    233249        RECT    rc;
    234         DWORD   dwItemSpec; 
     250        DWORD   dwItemSpec;
    235251        UINT    uItemState;
    236252        LPARAM  lItemlParam;
     
    468484#define ILC_PALETTE      0x0800  /* no longer supported by M$ */
    469485
    470 #define ILD_NORMAL       0x0000
    471 #define ILD_TRANSPARENT  0x0001
    472 #define ILD_BLEND25      0x0002
    473 #define ILD_BLEND50      0x0004
    474 #define ILD_MASK         0x0010
    475 #define ILD_IMAGE        0x0020
    476 #define ILD_ROP          0x0040
    477 #define ILD_OVERLAYMASK  0x0F00
     486#define ILD_NORMAL        0x0000
     487#define ILD_TRANSPARENT   0x0001
     488#define ILD_BLEND25       0x0002
     489#define ILD_BLEND50       0x0004
     490#define ILD_MASK          0x0010
     491#define ILD_IMAGE         0x0020
     492#define ILD_ROP           0x0040
     493#define ILD_OVERLAYMASK   0x0F00
     494#define ILD_PRESERVEALPHA 0x1000
     495#define ILD_SCALE         0x2000
     496#define ILD_DPISCALE      0x4000
    478497
    479498#define ILD_SELECTED     ILD_BLEND50
     
    487506#define ILCF_SWAP        (0x00000001)
    488507
     508#define ILS_NORMAL      0x0000
     509#define ILS_GLOW        0x0001
     510#define ILS_SHADOW      0x0002
     511#define ILS_SATURATE    0x0004
     512#define ILS_ALPHA       0x0008
    489513
    490514typedef struct _IMAGEINFO
     
    502526    DWORD       cbSize;
    503527    HIMAGELIST  himl;
    504     INT       i;
    505     HDC       hdcDst;
    506     INT       x;
    507     INT       y;
    508     INT       cx;
    509     INT       cy;
    510     INT       xBitmap;  /* x offest from the upperleft of bitmap */
    511     INT       yBitmap;  /* y offset from the upperleft of bitmap */
     528    INT         i;
     529    HDC         hdcDst;
     530    INT         x;
     531    INT         y;
     532    INT         cx;
     533    INT         cy;
     534    INT         xBitmap;  /* x offest from the upperleft of bitmap */
     535    INT         yBitmap;  /* y offset from the upperleft of bitmap */
    512536    COLORREF    rgbBk;
    513537    COLORREF    rgbFg;
    514     UINT      fStyle;
     538    UINT        fStyle;
    515539    DWORD       dwRop;
     540    DWORD       fState;
     541    DWORD       Frame;
     542    DWORD       crEffect;
    516543} IMAGELISTDRAWPARAMS, *LPIMAGELISTDRAWPARAMS;
    517544
     
    525552BOOL     WINAPI ImageList_Destroy(HIMAGELIST);
    526553BOOL     WINAPI ImageList_DragEnter(HWND,INT,INT);
    527 BOOL     WINAPI ImageList_DragLeave(HWND); 
     554BOOL     WINAPI ImageList_DragLeave(HWND);
    528555BOOL     WINAPI ImageList_DragMove(INT,INT);
    529556BOOL     WINAPI ImageList_DragShowNolock (BOOL);
     
    531558BOOL     WINAPI ImageList_DrawEx(HIMAGELIST,INT,HDC,INT,INT,INT,
    532559                                   INT,COLORREF,COLORREF,UINT);
    533 BOOL     WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*); 
     560BOOL     WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*);
    534561HIMAGELIST WINAPI ImageList_Duplicate(HIMAGELIST);
    535562BOOL     WINAPI ImageList_EndDrag(VOID);
     
    645672HRESULT WINAPI UninitializeFlatSB(HWND);
    646673
     674/* Subclassing stuff */
     675#ifdef __WIN32OS2__
     676typedef LRESULT (* CALLBACK SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD);
     677#else
     678typedef LRESULT (CALLBACK *SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD_PTR);
     679#endif
     680BOOL WINAPI SetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR);
     681BOOL WINAPI GetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR*);
     682BOOL WINAPI RemoveWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR);
     683LRESULT WINAPI DefSubclassProc(HWND, UINT, WPARAM, LPARAM);
    647684
    648685/* Header control */
     
    657694#define WC_HEADER               WINELIB_NAME_AW(WC_HEADER)
    658695 
    659 #define HDS_HORZ                0x0000 
    660 #define HDS_BUTTONS             0x0002 
    661 #define HDS_HOTTRACK            0x0004 
    662 #define HDS_HIDDEN              0x0008 
    663 #define HDS_DRAGDROP            0x0040 
    664 #define HDS_FULLDRAG            0x0080 
     696#define HDS_HORZ                0x0000
     697#define HDS_BUTTONS             0x0002
     698#define HDS_HOTTRACK            0x0004
     699#define HDS_HIDDEN              0x0008
     700#define HDS_DRAGDROP            0x0040
     701#define HDS_FULLDRAG            0x0080
    665702
    666703#define HDI_WIDTH               0x0001
     
    921958/* Toolbar */
    922959
    923 #define TOOLBARCLASSNAME16      "ToolbarWindow" 
     960#define TOOLBARCLASSNAME16      "ToolbarWindow"
    924961#define TOOLBARCLASSNAMEA       "ToolbarWindow32"
    925962#ifdef __WIN32OS2__
     
    943980
    944981
    945 /* as of _WIN32_IE >= 0x0500 the following symbols are obsolete, 
     982/* as of _WIN32_IE >= 0x0500 the following symbols are obsolete,
    946983 * "everyone" should use the BTNS_... stuff below
    947984 */
     
    9701007#define TBSTYLE_FLAT            0x0800
    9711008#define TBSTYLE_LIST            0x1000
    972 #define TBSTYLE_CUSTOMERASE     0x2000 
     1009#define TBSTYLE_CUSTOMERASE     0x2000
    9731010#define TBSTYLE_REGISTERDROP    0x4000
    9741011#define TBSTYLE_TRANSPARENT     0x8000
     
    9871024#define TBIF_SIZE               0x00000040
    9881025
    989 #define TBBF_LARGE              0x0001 
     1026#define TBBF_LARGE              0x0001
    9901027
    9911028#define TB_ENABLEBUTTON          (WM_USER+1)
     
    9951032#define TB_INDETERMINATE         (WM_USER+5)
    9961033#define TB_MARKBUTTON            (WM_USER+6)
    997 #define TB_ISBUTTONENABLED       (WM_USER+9) 
    998 #define TB_ISBUTTONCHECKED       (WM_USER+10) 
    999 #define TB_ISBUTTONPRESSED       (WM_USER+11) 
     1034#define TB_ISBUTTONENABLED       (WM_USER+9)
     1035#define TB_ISBUTTONCHECKED       (WM_USER+10)
     1036#define TB_ISBUTTONPRESSED       (WM_USER+11)
    10001037#define TB_ISBUTTONHIDDEN        (WM_USER+12)
    10011038#define TB_ISBUTTONINDETERMINATE (WM_USER+13)
     
    10191056#define TB_SAVERESTORE WINELIB_NAME_AW(TB_SAVERESTORE)
    10201057#define TB_CUSTOMIZE             (WM_USER+27)
    1021 #define TB_ADDSTRINGA          (WM_USER+28) 
    1022 #define TB_ADDSTRINGW          (WM_USER+77) 
     1058#define TB_ADDSTRINGA          (WM_USER+28)
     1059#define TB_ADDSTRINGW          (WM_USER+77)
    10231060#define TB_ADDSTRING WINELIB_NAME_AW(TB_ADDSTRING)
    10241061#define TB_GETITEMRECT           (WM_USER+29)
     
    13901427#define HICF_TOGGLEDROPDOWN 0x00000100   /* Toggle button's dropdown state */
    13911428
    1392 typedef struct 
     1429typedef struct
    13931430{
    13941431    int   iButton;
     
    14001437HWND WINAPI
    14011438CreateToolbar(HWND, DWORD, UINT, INT, HINSTANCE,
    1402               UINT, LPCOLDTBBUTTON, INT); 
     1439              UINT, LPCOLDTBBUTTON, INT);
    14031440 
    14041441HWND WINAPI
    14051442CreateToolbarEx(HWND, DWORD, UINT, INT,
    1406                 HINSTANCE, UINT, LPCTBBUTTON, 
    1407                 INT, INT, INT, INT, INT, UINT); 
     1443                HINSTANCE, UINT, LPCTBBUTTON,
     1444                INT, INT, INT, INT, INT, UINT);
    14081445
    14091446HBITMAP WINAPI
    1410 CreateMappedBitmap (HINSTANCE, INT, UINT, LPCOLORMAP, INT); 
     1447CreateMappedBitmap (HINSTANCE, INT, UINT, LPCOLORMAP, INT);
    14111448
    14121449
     
    14551492#define TTM_ACTIVATE            (WM_USER+1)
    14561493#define TTM_SETDELAYTIME        (WM_USER+3)
    1457 #define TTM_ADDTOOLA          (WM_USER+4)
    1458 #define TTM_ADDTOOLW          (WM_USER+50)
     1494#define TTM_ADDTOOLA            (WM_USER+4)
     1495#define TTM_ADDTOOLW            (WM_USER+50)
    14591496#define TTM_ADDTOOL WINELIB_NAME_AW(TTM_ADDTOOL)
    1460 #define TTM_DELTOOLA          (WM_USER+5)
    1461 #define TTM_DELTOOLW          (WM_USER+51)
     1497#define TTM_DELTOOLA            (WM_USER+5)
     1498#define TTM_DELTOOLW            (WM_USER+51)
    14621499#define TTM_DELTOOL WINELIB_NAME_AW(TTM_DELTOOL)
    1463 #define TTM_NEWTOOLRECTA      (WM_USER+6)
    1464 #define TTM_NEWTOOLRECTW      (WM_USER+52)
     1500#define TTM_NEWTOOLRECTA        (WM_USER+6)
     1501#define TTM_NEWTOOLRECTW        (WM_USER+52)
    14651502#define TTM_NEWTOOLRECT WINELIB_NAME_AW(TTM_NEWTOOLRECT)
    14661503#define TTM_RELAYEVENT          (WM_USER+7)
    1467 #define TTM_GETTOOLINFOA      (WM_USER+8)
    1468 #define TTM_GETTOOLINFOW      (WM_USER+53)
     1504#define TTM_GETTOOLINFOA        (WM_USER+8)
     1505#define TTM_GETTOOLINFOW        (WM_USER+53)
    14691506#define TTM_GETTOOLINFO WINELIB_NAME_AW(TTM_GETTOOLINFO)
    1470 #define TTM_SETTOOLINFOA      (WM_USER+9)
    1471 #define TTM_SETTOOLINFOW      (WM_USER+54)
     1507#define TTM_SETTOOLINFOA        (WM_USER+9)
     1508#define TTM_SETTOOLINFOW        (WM_USER+54)
    14721509#define TTM_SETTOOLINFO WINELIB_NAME_AW(TTM_SETTOOLINFO)
    1473 #define TTM_HITTESTA          (WM_USER+10)
    1474 #define TTM_HITTESTW          (WM_USER+55)
     1510#define TTM_HITTESTA            (WM_USER+10)
     1511#define TTM_HITTESTW            (WM_USER+55)
    14751512#define TTM_HITTEST WINELIB_NAME_AW(TTM_HITTEST)
    1476 #define TTM_GETTEXTA          (WM_USER+11)
    1477 #define TTM_GETTEXTW          (WM_USER+56)
     1513#define TTM_GETTEXTA            (WM_USER+11)
     1514#define TTM_GETTEXTW            (WM_USER+56)
    14781515#define TTM_GETTEXT WINELIB_NAME_AW(TTM_GETTEXT)
    1479 #define TTM_UPDATETIPTEXTA    (WM_USER+12)
    1480 #define TTM_UPDATETIPTEXTW    (WM_USER+57)
     1516#define TTM_UPDATETIPTEXTA      (WM_USER+12)
     1517#define TTM_UPDATETIPTEXTW      (WM_USER+57)
    14811518#define TTM_UPDATETIPTEXT WINELIB_NAME_AW(TTM_UPDATETIPTEXT)
    14821519#define TTM_GETTOOLCOUNT        (WM_USER+13)
    1483 #define TTM_ENUMTOOLSA        (WM_USER+14)
    1484 #define TTM_ENUMTOOLSW        (WM_USER+58)
     1520#define TTM_ENUMTOOLSA          (WM_USER+14)
     1521#define TTM_ENUMTOOLSW          (WM_USER+58)
    14851522#define TTM_ENUMTOOLS WINELIB_NAME_AW(TTM_ENUMTOOLS)
    1486 #define TTM_GETCURRENTTOOLA   (WM_USER+15)
    1487 #define TTM_GETCURRENTTOOLW   (WM_USER+59)
     1523#define TTM_GETCURRENTTOOLA     (WM_USER+15)
     1524#define TTM_GETCURRENTTOOLW     (WM_USER+59)
    14881525#define TTM_GETCURRENTTOOL WINELIB_NAME_AW(TTM_GETCURRENTTOOL)
    14891526#define TTM_WINDOWFROMPOINT     (WM_USER+16)
     
    15011538#define TTM_POP                 (WM_USER+28)
    15021539#define TTM_UPDATE              (WM_USER+29)
     1540#define TTM_GETBUBBLESIZE       (WM_USER+30)
    15031541
    15041542
    15051543#define TTN_FIRST               (0U-520U)
    15061544#define TTN_LAST                (0U-549U)
    1507 #define TTN_GETDISPINFOA      (TTN_FIRST-0)
    1508 #define TTN_GETDISPINFOW      (TTN_FIRST-10)
     1545#define TTN_GETDISPINFOA        (TTN_FIRST-0)
     1546#define TTN_GETDISPINFOW        (TTN_FIRST-10)
    15091547#define TTN_GETDISPINFO WINELIB_NAME_AW(TTN_GETDISPINFO)
    15101548#define TTN_SHOW                (TTN_FIRST-1)
     
    18401878#define TBS_NOTHUMB             0x0080
    18411879#define TBS_TOOLTIPS            0x0100
    1842 #define TBS_REVERSED                    0x0200
     1880#define TBS_REVERSED            0x0200
     1881#define TBS_DOWNISLEFT          0x0400
    18431882
    18441883#define TBTS_TOP                0
     
    26812720#define LVFI_STRING             0X0002
    26822721#define LVFI_PARTIAL            0X0008
    2683 #define LVFI_WRAP               0X0020 
     2722#define LVFI_WRAP               0X0020
    26842723#define LVFI_NEARESTXY          0X0040
    26852724
     
    26952734#define LVIR_LABEL              0x0002
    26962735#define LVIR_ICON               0x0001
    2697 #define LVIR_SELECTBOUNDS       0x0003 
     2736#define LVIR_SELECTBOUNDS       0x0003
    26982737
    26992738#define LVIS_FOCUSED            0x0001
     
    28332872#define LVM_SETTOOLTIPS         (LVM_FIRST+74)
    28342873#define LVM_GETTOOLTIPS         (LVM_FIRST+78)
     2874#define LVM_GETUNICODEFORMAT    (CCM_GETUNICODEFORMAT)
     2875#define LVM_SETUNICODEFORMAT    (CCM_SETUNICODEFORMAT)
    28352876
    28362877#define LVN_FIRST               (0U-100U)
     
    35103551#define ListView_FindItemW(hwnd,nItem,plvfi) \
    35113552    (INT)SendMessageW((hwnd),LVM_FINDITEMW,(WPARAM)(INT)(nItem),(LPARAM)(LVFINDINFOW*)(plvfi))
     3553#define ListView_FindItem WINELIB_NAME_AW(ListView_FindItem)
     3554
    35123555#define ListView_Arrange(hwnd,code) \
    35133556    (INT)SendMessageA((hwnd),LVM_ARRANGE,(WPARAM)(INT)(code),0L)
     
    35883631#define ListView_SetItemTextA(hwndLV, i, _iSubItem, _pszText) \
    35893632{ LVITEMA _LVi; _LVi.iSubItem = _iSubItem; _LVi.pszText = _pszText;\
    3590   SendMessageA(hwndLV, LVM_SETITEMTEXTA, (WPARAM)i, (LPARAM) (LVITEMA*)&_LVi);}               
     3633  SendMessageA(hwndLV, LVM_SETITEMTEXTA, (WPARAM)i, (LPARAM) (LVITEMA*)&_LVi);}
    35913634#define ListView_SetItemTextW(hwndLV, i, _iSubItem, _pszText) \
    35923635{ LVITEMW _LVi; _LVi.iSubItem = _iSubItem; _LVi.pszText = _pszText;\
    3593   SendMessageW(hwndLV, LVM_SETITEMTEXTW, (WPARAM)i, (LPARAM) (LVITEMW*)& _LVi);}               
     3636  SendMessageW(hwndLV, LVM_SETITEMTEXTW, (WPARAM)i, (LPARAM) (LVITEMW*)& _LVi);}
    35943637#define ListView_SetItemText WINELIB_NAME_AW(ListView_SetItemText)
    35953638
     
    41904233#define MCN_SELECT            (MCN_FIRST + 4)
    41914234
    4192 #define MCSC_BACKGROUND   0   
    4193 #define MCSC_TEXT         1   
    4194 #define MCSC_TITLEBK      2   
     4235#define MCSC_BACKGROUND   0
     4236#define MCSC_TEXT         1
     4237#define MCSC_TITLEBK      2
    41954238#define MCSC_TITLETEXT    3
    4196 #define MCSC_MONTHBK      4   
    4197 #define MCSC_TRAILINGTEXT 5   
     4239#define MCSC_MONTHBK      4
     4240#define MCSC_TRAILINGTEXT 5
    41984241
    41994242#define MCS_DAYSTATE           0x0001
     
    42074250#define MCHT_TODAYLINK         0x00030000
    42084251
    4209 #define MCHT_NEXT              0x01000000   
    4210 #define MCHT_PREV              0x02000000 
     4252#define MCHT_NEXT              0x01000000
     4253#define MCHT_PREV              0x02000000
    42114254#define MCHT_NOWHERE           0x00000000
    42124255#define MCHT_TITLEBK           (MCHT_TITLE)
     
    42254268
    42264269
    4227 #define GMR_VISIBLE     0     
    4228 #define GMR_DAYSTATE    1     
     4270#define GMR_VISIBLE     0
     4271#define GMR_DAYSTATE    1
    42294272
    42304273
     
    42354278        UINT cbSize;
    42364279        POINT pt;
    4237         UINT uHit;   
     4280        UINT uHit;
    42384281        SYSTEMTIME st;
    42394282} MCHITTESTINFO, *PMCHITTESTINFO;
     
    42414284typedef struct tagNMSELCHANGE
    42424285{
    4243     NMHDR           nmhdr; 
     4286    NMHDR           nmhdr;
    42444287    SYSTEMTIME      stSelStart;
    42454288    SYSTEMTIME      stSelEnd;
     
    42514294typedef struct tagNMDAYSTATE
    42524295{
    4253     NMHDR           nmhdr; 
     4296    NMHDR           nmhdr;
    42544297    SYSTEMTIME      stStart;
    42554298    int             cDayState;
     
    43424385/* Datetime Notifications */
    43434386
    4344 #define DTN_DATETIMECHANGE  (DTN_FIRST + 1) 
    4345 #define DTN_USERSTRINGA     (DTN_FIRST + 2) 
    4346 #define DTN_WMKEYDOWNA      (DTN_FIRST + 3) 
    4347 #define DTN_FORMATA         (DTN_FIRST + 4) 
    4348 #define DTN_FORMATQUERYA    (DTN_FIRST + 5) 
     4387#define DTN_DATETIMECHANGE  (DTN_FIRST + 1)
     4388#define DTN_USERSTRINGA     (DTN_FIRST + 2)
     4389#define DTN_WMKEYDOWNA      (DTN_FIRST + 3)
     4390#define DTN_FORMATA         (DTN_FIRST + 4)
     4391#define DTN_FORMATQUERYA    (DTN_FIRST + 5)
    43494392#define DTN_DROPDOWN        (DTN_FIRST + 6)
    4350 #define DTN_CLOSEUP         (DTN_FIRST + 7) 
     4393#define DTN_CLOSEUP         (DTN_FIRST + 7)
    43514394#define DTN_USERSTRINGW     (DTN_FIRST + 15)
    43524395#define DTN_WMKEYDOWNW      (DTN_FIRST + 16)
     
    43594402#define DTN_FORMATQUERY     WINELIB_NAME_AW(DTN_FORMATQUERY)
    43604403
    4361 #define DTS_SHORTDATEFORMAT 0x0000 
    4362 #define DTS_UPDOWN          0x0001 
    4363 #define DTS_SHOWNONE        0x0002 
    4364 #define DTS_LONGDATEFORMAT  0x0004 
    4365 #define DTS_TIMEFORMAT      0x0009 
    4366 #define DTS_APPCANPARSE     0x0010 
    4367 #define DTS_RIGHTALIGN      0x0020 
     4404#define DTS_SHORTDATEFORMAT 0x0000
     4405#define DTS_UPDOWN          0x0001
     4406#define DTS_SHOWNONE        0x0002
     4407#define DTS_LONGDATEFORMAT  0x0004
     4408#define DTS_TIMEFORMAT      0x0009
     4409#define DTS_APPCANPARSE     0x0010
     4410#define DTS_RIGHTALIGN      0x0020
    43684411
    43694412typedef struct tagNMDATETIMECHANGE
    43704413{
    43714414    NMHDR       nmhdr;
    4372     DWORD       dwFlags;   
    4373     SYSTEMTIME  st;         
     4415    DWORD       dwFlags;
     4416    SYSTEMTIME  st;
    43744417} NMDATETIMECHANGE, *LPNMDATETIMECHANGE;
    43754418
     
    43774420{
    43784421    NMHDR      nmhdr;
    4379     LPCSTR     pszUserString; 
    4380     SYSTEMTIME st;     
    4381     DWORD      dwFlags; 
     4422    LPCSTR     pszUserString;
     4423    SYSTEMTIME st;
     4424    DWORD      dwFlags;
    43824425} NMDATETIMESTRINGA, *LPNMDATETIMESTRINGA;
    43834426
     
    43864429    NMHDR      nmhdr;
    43874430    LPCWSTR    pszUserString;
    4388     SYSTEMTIME st;         
    4389     DWORD      dwFlags;   
     4431    SYSTEMTIME st;
     4432    DWORD      dwFlags;
    43904433} NMDATETIMESTRINGW, *LPNMDATETIMESTRINGW;
    43914434
     
    43964439{
    43974440    NMHDR      nmhdr;
    4398     int        nVirtKey; 
    4399     LPCSTR     pszFormat; 
    4400     SYSTEMTIME st;       
     4441    int        nVirtKey;
     4442    LPCSTR     pszFormat;
     4443    SYSTEMTIME st;
    44014444} NMDATETIMEWMKEYDOWNA, *LPNMDATETIMEWMKEYDOWNA;
    44024445
     
    44044447{
    44054448    NMHDR      nmhdr;
    4406     int        nVirtKey; 
    4407     LPCWSTR    pszFormat; 
    4408     SYSTEMTIME st;       
     4449    int        nVirtKey;
     4450    LPCWSTR    pszFormat;
     4451    SYSTEMTIME st;
    44094452} NMDATETIMEWMKEYDOWNW, *LPNMDATETIMEWMKEYDOWNW;
    44104453
     
    44154458{
    44164459    NMHDR nmhdr;
    4417     LPCSTR  pszFormat;   
    4418     SYSTEMTIME st;     
    4419     LPCSTR pszDisplay; 
    4420     CHAR szDisplay[64]; 
     4460    LPCSTR  pszFormat;
     4461    SYSTEMTIME st;
     4462    LPCSTR pszDisplay;
     4463    CHAR szDisplay[64];
    44214464} NMDATETIMEFORMATA, *LPNMDATETIMEFORMATA;
    44224465
     
    44254468{
    44264469    NMHDR nmhdr;
    4427     LPCWSTR pszFormat; 
    4428     SYSTEMTIME st;     
     4470    LPCWSTR pszFormat;
     4471    SYSTEMTIME st;
    44294472    LPCWSTR pszDisplay;
    44304473    WCHAR szDisplay[64];
     
    44374480{
    44384481    NMHDR nmhdr;
    4439     LPCSTR pszFormat; 
    4440     SIZE szMax;       
     4482    LPCSTR pszFormat;
     4483    SIZE szMax;
    44414484} NMDATETIMEFORMATQUERYA, *LPNMDATETIMEFORMATQUERYA;
    44424485
     
    44444487{
    44454488    NMHDR nmhdr;
    4446     LPCWSTR pszFormat; 
    4447     SIZE szMax;       
     4489    LPCWSTR pszFormat;
     4490    SIZE szMax;
    44484491} NMDATETIMEFORMATQUERYW, *LPNMDATETIMEFORMATQUERYW;
    44494492
     
    44624505
    44634506#define DateTime_GetSystemtime(hdp, pst)   \
    4464   (DWORD)SendMessageA (hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst)) 
     4507  (DWORD)SendMessageA (hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst))
    44654508#define DateTime_SetSystemtime(hdp, gd, pst)   \
    44664509  (BOOL)SendMessageA (hdp, DTM_SETSYSTEMTIME, (LPARAM)(gd), (LPARAM)(pst))
    44674510#define DateTime_GetRange(hdp, rgst)  \
    4468   (DWORD)SendMessageA (hdp, DTM_GETRANGE, 0, (LPARAM)(rgst)) 
     4511  (DWORD)SendMessageA (hdp, DTM_GETRANGE, 0, (LPARAM)(rgst))
    44694512#define DateTime_SetRange(hdp, gd, rgst) \
    44704513   (BOOL)SendMessageA (hdp, DTM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst))
     
    45454588{
    45464589    INT    nItemCount;
    4547     LPVOID   *ptrs; 
     4590    LPVOID   *ptrs;
    45484591    HANDLE hHeap;
    45494592    INT    nGrow;
     
    46144657
    46154658#endif  /* __WINE_COMMCTRL_H */
    4616 
    4617 
Note: See TracChangeset for help on using the changeset viewer.