Changeset 319

Show
Ignore:
Timestamp:
12/19/08 20:53:30 (3 years ago)
Author:
dyh
Message:

cbSize initial values.
VK and WS enums cleanup.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/win32/imm.d

    r238 r319  
    330330 
    331331struct IMEMENUITEMINFOA{ 
    332     UINT cbSize
     332    UINT cbSize = this.sizeof
    333333    UINT fType; 
    334334    UINT fState; 
     
    343343 
    344344struct IMEMENUITEMINFOW{ 
    345     UINT cbSize
     345    UINT cbSize = this.sizeof
    346346    UINT fType; 
    347347    UINT fState; 
  • trunk/win32/ocidl.d

    r313 r319  
    9393 
    9494struct QACONTAINER { 
    95     ULONG cbSize
     95    ULONG cbSize = this.sizeof
    9696    IOleClientSite* pClientSite; 
    9797    IAdviseSinkEx* pAdviseSink; 
     
    112112 
    113113struct QACONTROL { 
    114     ULONG cbSize
     114    ULONG cbSize = this.sizeof
    115115    DWORD dwMiscStatus; 
    116116    DWORD dwViewStatus; 
  • trunk/win32/rapi.d

    r164 r319  
    4040 
    4141struct RAPIINIT { 
    42     DWORD   cbSize
     42    DWORD   cbSize = this.sizeof
    4343    HANDLE  heRapiInit; 
    4444    HRESULT hrRapiInit; 
  • trunk/win32/richedit.d

    r155 r319  
    300300 
    301301struct CHARFORMATA { 
    302     UINT cbSize
     302    UINT cbSize = this.sizeof
    303303    DWORD dwMask; 
    304304    DWORD dwEffects; 
     
    311311} 
    312312struct CHARFORMATW { 
    313     UINT cbSize
     313    UINT cbSize = this.sizeof
    314314    DWORD dwMask; 
    315315    DWORD dwEffects; 
     
    323323 
    324324struct CHARFORMAT2A { 
    325     UINT cbSize
     325    UINT cbSize = this.sizeof
    326326    DWORD dwMask; 
    327327    DWORD dwEffects; 
     
    345345 
    346346struct CHARFORMAT2W { 
    347     UINT cbSize
     347    UINT cbSize = this.sizeof
    348348    DWORD dwMask; 
    349349    DWORD dwEffects; 
     
    468468 
    469469struct PARAFORMAT { 
    470     UINT cbSize
     470    UINT cbSize = this.sizeof
    471471    DWORD dwMask; 
    472472    WORD wNumbering; 
     
    481481 
    482482struct PARAFORMAT2 { 
    483     UINT cbSize
     483    UINT cbSize = this.sizeof
    484484    DWORD dwMask; 
    485485    WORD wNumbering; 
  • trunk/win32/shlobj.d

    r155 r319  
    416416 
    417417struct CMINVOKECOMMANDINFO { 
    418     DWORD cbSize
     418    DWORD cbSize = this.sizeof
    419419    DWORD fMask; 
    420420    HWND hwnd; 
     
    567567 
    568568struct FVSHOWINFO { 
    569     DWORD cbSize
     569    DWORD cbSize = this.sizeof
    570570    HWND hwndOwner; 
    571571    int iShow; 
     
    10611061 
    10621062struct SV2CVW2_PARAMS { 
    1063     DWORD cbSize
     1063    DWORD cbSize = this.sizeof
    10641064    IShellView *psvPrev; 
    10651065    FOLDERSETTINGS  *pfs; 
  • trunk/win32/shlwapi.d

    r155 r319  
    4848struct DLLVERSIONINFO 
    4949{ 
    50     DWORD cbSize
     50    DWORD cbSize = this.sizeof
    5151    DWORD dwMajorVersion; 
    5252    DWORD dwMinorVersion; 
  • trunk/win32/vfw.d

    r197 r319  
    635635 
    636636struct COMPVARS { 
    637     LONG        cbSize
     637    LONG        cbSize = this.sizeof
    638638    DWORD       dwFlags; 
    639639    HIC         hic; 
  • trunk/win32/winbase.d

    r309 r319  
    15601560static if (_WIN32_WINNT >= 0x501) { 
    15611561    struct ACTCTXA { 
    1562         ULONG cbSize
     1562        ULONG cbSize = this.sizeof
    15631563        DWORD dwFlags; 
    15641564        LPCSTR lpSource; 
     
    15731573 
    15741574    struct ACTCTXW { 
    1575         ULONG cbSize
     1575        ULONG cbSize = this.sizeof
    15761576        DWORD dwFlags; 
    15771577        LPCWSTR lpSource; 
     
    15861586 
    15871587    struct ACTCTX_SECTION_KEYED_DATA { 
    1588         ULONG cbSize
     1588        ULONG cbSize = this.sizeof
    15891589        ULONG ulDataFormatVersion; 
    15901590        PVOID lpData; 
  • trunk/win32/winuser.d

    r306 r319  
    236236const CW_USEDEFAULT       = 0x80000000; 
    237237 
    238 const WS_OVERLAPPED       = 0; 
    239 const WS_TILED            = 0; 
    240 const WS_MAXIMIZEBOX      = 0x00010000; 
    241 const WS_MINIMIZEBOX      = 0x00020000; 
    242 const WS_SIZEBOX          = 0x00040000; 
    243 const WS_TABSTOP          = 0x00010000; 
    244 const WS_GROUP            = 0x00020000; 
    245 const WS_THICKFRAME       = 0x00040000; 
    246 const WS_SYSMENU          = 0x00080000; 
    247 const WS_HSCROLL          = 0x00100000; 
    248 const WS_VSCROLL          = 0x00200000; 
    249 const WS_DLGFRAME         = 0x00400000; 
    250 const WS_BORDER           = 0x00800000; 
    251 const WS_CAPTION          = 0x00c00000; 
    252 const WS_TILEDWINDOW      = 0x00cf0000; 
    253 const WS_OVERLAPPEDWINDOW = 0x00cf0000; 
    254 const WS_MAXIMIZE         = 0x01000000; 
    255 const WS_CLIPCHILDREN     = 0x02000000; 
    256 const WS_CLIPSIBLINGS     = 0x04000000; 
    257 const WS_DISABLED         = 0x08000000; 
    258 const WS_VISIBLE          = 0x10000000; 
    259 const WS_MINIMIZE         = 0x20000000; 
    260 const WS_ICONIC           = 0x20000000; 
    261 const WS_CHILD            = 0x40000000; 
    262 const WS_CHILDWINDOW      = 0x40000000; 
    263 const WS_POPUP            = 0x80000000; 
    264 const WS_POPUPWINDOW      = 0x80880000; 
     238enum { 
     239    WS_OVERLAPPED       = 0, 
     240    WS_TILED            = WS_OVERLAPPED, 
     241    WS_MAXIMIZEBOX      = 0x00010000, 
     242    WS_MINIMIZEBOX      = 0x00020000, 
     243    WS_TABSTOP          = 0x00010000, 
     244    WS_GROUP            = 0x00020000, 
     245    WS_THICKFRAME       = 0x00040000, 
     246    WS_SIZEBOX          = WS_THICKFRAME, 
     247    WS_SYSMENU          = 0x00080000, 
     248    WS_HSCROLL          = 0x00100000, 
     249    WS_VSCROLL          = 0x00200000, 
     250    WS_DLGFRAME         = 0x00400000, 
     251    WS_BORDER           = 0x00800000, 
     252    WS_CAPTION          = 0x00c00000, 
     253    WS_OVERLAPPEDWINDOW = WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MINIMIZEBOX|WS_MAXIMIZEBOX, 
     254    WS_TILEDWINDOW      = WS_OVERLAPPEDWINDOW, 
     255    WS_MAXIMIZE         = 0x01000000, 
     256    WS_CLIPCHILDREN     = 0x02000000, 
     257    WS_CLIPSIBLINGS     = 0x04000000, 
     258    WS_DISABLED         = 0x08000000, 
     259    WS_VISIBLE          = 0x10000000, 
     260    WS_MINIMIZE         = 0x20000000, 
     261    WS_ICONIC           = WS_MINIMIZE, 
     262    WS_CHILD            = 0x40000000, 
     263    WS_CHILDWINDOW      = 0x40000000, 
     264    WS_POPUP            = 0x80000000, 
     265    WS_POPUPWINDOW      = WS_POPUP|WS_BORDER|WS_SYSMENU, 
     266
    265267 
    266268const MDIS_ALLCHILDSTYLES = 1; 
     
    15371539const WM_PRINT=791; 
    15381540const WM_PRINTCLIENT=792; 
     1541const WM_APPCOMMAND = 0x0319; 
    15391542const WM_QUERYDRAGICON=55; 
    15401543const WM_QUERYENDSESSION=17; 
     
    18831886const MDITILE_VERTICAL=0; 
    18841887 
    1885 const VK_LBUTTON=1; 
    1886 const VK_RBUTTON=2; 
    1887 const VK_CANCEL=3; 
    1888 const VK_MBUTTON=4; 
    1889 static if (_WIN32_WINNT >= 0x500) { 
    1890 const VK_XBUTTON1=5; 
    1891 const VK_XBUTTON2=6; 
    1892 
    1893 const VK_BACK=8; 
    1894 const VK_TAB=9; 
    1895 const VK_CLEAR=12; 
    1896 const VK_RETURN=13; 
    1897 const VK_SHIFT=16; 
    1898 const VK_CONTROL=17; 
    1899 const VK_MENU=18; 
    1900 const VK_PAUSE=19; 
    1901 const VK_CAPITAL=20; 
    1902 const VK_KANA=0x15; 
    1903 const VK_HANGEUL=0x15; 
    1904 const VK_HANGUL=0x15; 
    1905 const VK_JUNJA=0x17; 
    1906 const VK_FINAL=0x18; 
    1907 const VK_HANJA=0x19; 
    1908 const VK_KANJI=0x19; 
    1909 const VK_ESCAPE=0x1B; 
    1910 const VK_CONVERT=0x1C; 
    1911 const VK_NONCONVERT=0x1D; 
    1912 const VK_ACCEPT=0x1E; 
    1913 const VK_MODECHANGE=0x1F; 
    1914 const VK_SPACE=32; 
    1915 const VK_PRIOR=33; 
    1916 const VK_NEXT=34; 
    1917 const VK_END=35; 
    1918 const VK_HOME=36; 
    1919 const VK_LEFT=37; 
    1920 const VK_UP=38; 
    1921 const VK_RIGHT=39; 
    1922 const VK_DOWN=40; 
    1923 const VK_SELECT=41; 
    1924 const VK_PRINT=42; 
    1925 const VK_EXECUTE=43; 
    1926 const VK_SNAPSHOT=44; 
    1927 const VK_INSERT=45; 
    1928 const VK_DELETE=46; 
    1929 const VK_HELP=47; 
    1930 const VK_LWIN=0x5B; 
    1931 const VK_RWIN=0x5C; 
    1932 const VK_APPS=0x5D; 
    1933 const VK_SLEEP=0x5F; 
    1934 const VK_NUMPAD0=0x60; 
    1935 const VK_NUMPAD1=0x61; 
    1936 const VK_NUMPAD2=0x62; 
    1937 const VK_NUMPAD3=0x63; 
    1938 const VK_NUMPAD4=0x64; 
    1939 const VK_NUMPAD5=0x65; 
    1940 const VK_NUMPAD6=0x66; 
    1941 const VK_NUMPAD7=0x67; 
    1942 const VK_NUMPAD8=0x68; 
    1943 const VK_NUMPAD9=0x69; 
    1944 const VK_MULTIPLY=0x6A; 
    1945 const VK_ADD=0x6B; 
    1946 const VK_SEPARATOR=0x6C; 
    1947 const VK_SUBTRACT=0x6D; 
    1948 const VK_DECIMAL=0x6E; 
    1949 const VK_DIVIDE=0x6F; 
    1950 const VK_F1=0x70; 
    1951 const VK_F2=0x71; 
    1952 const VK_F3=0x72; 
    1953 const VK_F4=0x73; 
    1954 const VK_F5=0x74; 
    1955 const VK_F6=0x75; 
    1956 const VK_F7=0x76; 
    1957 const VK_F8=0x77; 
    1958 const VK_F9=0x78; 
    1959 const VK_F10=0x79; 
    1960 const VK_F11=0x7A; 
    1961 const VK_F12=0x7B; 
    1962 const VK_F13=0x7C; 
    1963 const VK_F14=0x7D; 
    1964 const VK_F15=0x7E; 
    1965 const VK_F16=0x7F; 
    1966 const VK_F17=0x80; 
    1967 const VK_F18=0x81; 
    1968 const VK_F19=0x82; 
    1969 const VK_F20=0x83; 
    1970 const VK_F21=0x84; 
    1971 const VK_F22=0x85; 
    1972 const VK_F23=0x86; 
    1973 const VK_F24=0x87; 
    1974 const VK_NUMLOCK=0x90; 
    1975 const VK_SCROLL=0x91; 
    1976 const VK_LSHIFT=0xA0; 
    1977 const VK_RSHIFT=0xA1; 
    1978 const VK_LCONTROL=0xA2; 
    1979 const VK_RCONTROL=0xA3; 
    1980 const VK_LMENU=0xA4; 
    1981 const VK_RMENU=0xA5; 
    1982 static if (_WIN32_WINNT >= 0x500) { 
    1983 const VK_BROWSER_BACK=0xA6; 
    1984 const VK_BROWSER_FORWARD=0xA7; 
    1985 const VK_BROWSER_REFRESH=0xA8; 
    1986 const VK_BROWSER_STOP=0xA9; 
    1987 const VK_BROWSER_SEARCH=0xAA; 
    1988 const VK_BROWSER_FAVORITES=0xAB; 
    1989 const VK_BROWSER_HOME=0xAC; 
    1990 const VK_VOLUME_MUTE=0xAD; 
    1991 const VK_VOLUME_DOWN=0xAE; 
    1992 const VK_VOLUME_UP=0xAF; 
    1993 const VK_MEDIA_NEXT_TRACK=0xB0; 
    1994 const VK_MEDIA_PREV_TRACK=0xB1; 
    1995 const VK_MEDIA_STOP=0xB2; 
    1996 const VK_MEDIA_PLAY_PAUSE=0xB3; 
    1997 const VK_LAUNCH_MAIL=0xB4; 
    1998 const VK_LAUNCH_MEDIA_SELECT=0xB5; 
    1999 const VK_LAUNCH_APP1=0xB6; 
    2000 const VK_LAUNCH_APP2=0xB7; 
    2001 
    2002 const VK_OEM_1=0xBA; 
    2003 static if (_WIN32_WINNT >= 0x500) { 
    2004 const VK_OEM_PLUS=0xBB; 
    2005 const VK_OEM_COMMA=0xBC; 
    2006 const VK_OEM_MINUS=0xBD; 
    2007 const VK_OEM_PERIOD=0xBE; 
    2008 
    2009 const VK_OEM_2=0xBF; 
    2010 const VK_OEM_3=0xC0; 
    2011 const VK_OEM_4=0xDB; 
    2012 const VK_OEM_5=0xDC; 
    2013 const VK_OEM_6=0xDD; 
    2014 const VK_OEM_7=0xDE; 
    2015 const VK_OEM_8=0xDF; 
    2016 static if (_WIN32_WINNT >= 0x500) { 
    2017 const VK_OEM_102=0xE2; 
    2018 
    2019 const VK_PROCESSKEY=0xE5; 
    2020 static if (_WIN32_WINNT >= 0x500) { 
    2021 const VK_PACKET=0xE7; 
    2022 
    2023 const VK_ATTN=0xF6; 
    2024 const VK_CRSEL=0xF7; 
    2025 const VK_EXSEL=0xF8; 
    2026 const VK_EREOF=0xF9; 
    2027 const VK_PLAY=0xFA; 
    2028 const VK_ZOOM=0xFB; 
    2029 const VK_NONAME=0xFC; 
    2030 const VK_PA1=0xFD; 
    2031 const VK_OEM_CLEAR=0xFE; 
     1888enum { 
     1889    VK_LBUTTON = 0x01, 
     1890    VK_RBUTTON = 0x02, 
     1891    VK_CANCEL = 0x03, 
     1892    VK_MBUTTON = 0x04, 
     1893    //static if (_WIN32_WINNT > =  0x500) { 
     1894    VK_XBUTTON1 = 0x05, 
     1895    VK_XBUTTON2 = 0x06, 
     1896    //} 
     1897    VK_BACK = 0x08, 
     1898    VK_TAB = 0x09, 
     1899    VK_CLEAR = 0x0C, 
     1900    VK_RETURN = 0x0D, 
     1901    VK_SHIFT = 0x10, 
     1902    VK_CONTROL = 0x11, 
     1903    VK_MENU = 0x12, 
     1904    VK_PAUSE = 0x13, 
     1905    VK_CAPITAL = 0x14, 
     1906    VK_KANA = 0x15, 
     1907    VK_HANGEUL = 0x15, 
     1908    VK_HANGUL = 0x15, 
     1909    VK_JUNJA = 0x17, 
     1910    VK_FINAL = 0x18, 
     1911    VK_HANJA = 0x19, 
     1912    VK_KANJI = 0x19, 
     1913    VK_ESCAPE = 0x1B, 
     1914    VK_CONVERT = 0x1C, 
     1915    VK_NONCONVERT = 0x1D, 
     1916    VK_ACCEPT = 0x1E, 
     1917    VK_MODECHANGE = 0x1F, 
     1918    VK_SPACE = 0x20, 
     1919    VK_PRIOR = 0x21, 
     1920    VK_NEXT = 0x22, 
     1921    VK_END = 0x23, 
     1922    VK_HOME = 0x24, 
     1923    VK_LEFT = 0x25, 
     1924    VK_UP = 0x26, 
     1925    VK_RIGHT = 0x27, 
     1926    VK_DOWN = 0x28, 
     1927    VK_SELECT = 0x29, 
     1928    VK_PRINT = 0x2A, 
     1929    VK_EXECUTE = 0x2B, 
     1930    VK_SNAPSHOT = 0x2C, 
     1931    VK_INSERT = 0x2D, 
     1932    VK_DELETE = 0x2E, 
     1933    VK_HELP = 0x2F, 
     1934    VK_LWIN = 0x5B, 
     1935    VK_RWIN = 0x5C, 
     1936    VK_APPS = 0x5D, 
     1937    VK_SLEEP = 0x5F, 
     1938    VK_NUMPAD0 = 0x60, 
     1939    VK_NUMPAD1 = 0x61, 
     1940    VK_NUMPAD2 = 0x62, 
     1941    VK_NUMPAD3 = 0x63, 
     1942    VK_NUMPAD4 = 0x64, 
     1943    VK_NUMPAD5 = 0x65, 
     1944    VK_NUMPAD6 = 0x66, 
     1945    VK_NUMPAD7 = 0x67, 
     1946    VK_NUMPAD8 = 0x68, 
     1947    VK_NUMPAD9 = 0x69, 
     1948    VK_MULTIPLY = 0x6A, 
     1949    VK_ADD = 0x6B, 
     1950    VK_SEPARATOR = 0x6C, 
     1951    VK_SUBTRACT = 0x6D, 
     1952    VK_DECIMAL = 0x6E, 
     1953    VK_DIVIDE = 0x6F, 
     1954    VK_F1 = 0x70, 
     1955    VK_F2 = 0x71, 
     1956    VK_F3 = 0x72, 
     1957    VK_F4 = 0x73, 
     1958    VK_F5 = 0x74, 
     1959    VK_F6 = 0x75, 
     1960    VK_F7 = 0x76, 
     1961    VK_F8 = 0x77, 
     1962    VK_F9 = 0x78, 
     1963    VK_F10 = 0x79, 
     1964    VK_F11 = 0x7A, 
     1965    VK_F12 = 0x7B, 
     1966    VK_F13 = 0x7C, 
     1967    VK_F14 = 0x7D, 
     1968    VK_F15 = 0x7E, 
     1969    VK_F16 = 0x7F, 
     1970    VK_F17 = 0x80, 
     1971    VK_F18 = 0x81, 
     1972    VK_F19 = 0x82, 
     1973    VK_F20 = 0x83, 
     1974    VK_F21 = 0x84, 
     1975    VK_F22 = 0x85, 
     1976    VK_F23 = 0x86, 
     1977    VK_F24 = 0x87, 
     1978    VK_NUMLOCK = 0x90, 
     1979    VK_SCROLL = 0x91, 
     1980    VK_LSHIFT = 0xA0, 
     1981    VK_RSHIFT = 0xA1, 
     1982    VK_LCONTROL = 0xA2, 
     1983    VK_RCONTROL = 0xA3, 
     1984    VK_LMENU = 0xA4, 
     1985    VK_RMENU = 0xA5, 
     1986    //static if (_WIN32_WINNT > =  0x500) { 
     1987    VK_BROWSER_BACK = 0xA6, 
     1988    VK_BROWSER_FORWARD = 0xA7, 
     1989    VK_BROWSER_REFRESH = 0xA8, 
     1990    VK_BROWSER_STOP = 0xA9, 
     1991    VK_BROWSER_SEARCH = 0xAA, 
     1992    VK_BROWSER_FAVORITES = 0xAB, 
     1993    VK_BROWSER_HOME = 0xAC, 
     1994    VK_VOLUME_MUTE = 0xAD, 
     1995    VK_VOLUME_DOWN = 0xAE, 
     1996    VK_VOLUME_UP = 0xAF, 
     1997    VK_MEDIA_NEXT_TRACK = 0xB0, 
     1998    VK_MEDIA_PREV_TRACK = 0xB1, 
     1999    VK_MEDIA_STOP = 0xB2, 
     2000    VK_MEDIA_PLAY_PAUSE = 0xB3, 
     2001    VK_LAUNCH_MAIL = 0xB4, 
     2002    VK_LAUNCH_MEDIA_SELECT = 0xB5, 
     2003    VK_LAUNCH_APP1 = 0xB6, 
     2004    VK_LAUNCH_APP2 = 0xB7, 
     2005    //} 
     2006    VK_OEM_1 = 0xBA, 
     2007    //static if (_WIN32_WINNT > =  0x500) { 
     2008    VK_OEM_PLUS = 0xBB, 
     2009    VK_OEM_COMMA = 0xBC, 
     2010    VK_OEM_MINUS = 0xBD, 
     2011    VK_OEM_PERIOD = 0xBE, 
     2012    //} 
     2013    VK_OEM_2 = 0xBF, 
     2014    VK_OEM_3 = 0xC0, 
     2015    VK_OEM_4 = 0xDB, 
     2016    VK_OEM_5 = 0xDC, 
     2017    VK_OEM_6 = 0xDD, 
     2018    VK_OEM_7 = 0xDE, 
     2019    VK_OEM_8 = 0xDF, 
     2020    //static if (_WIN32_WINNT > =  0x500) { 
     2021    VK_OEM_102 = 0xE2, 
     2022    //} 
     2023    VK_PROCESSKEY = 0xE5, 
     2024    //static if (_WIN32_WINNT > =  0x500) { 
     2025    VK_PACKET = 0xE7, 
     2026    //} 
     2027    VK_ATTN = 0xF6, 
     2028    VK_CRSEL = 0xF7, 
     2029    VK_EXSEL = 0xF8, 
     2030    VK_EREOF = 0xF9, 
     2031    VK_PLAY = 0xFA, 
     2032    VK_ZOOM = 0xFB, 
     2033    VK_NONAME = 0xFC, 
     2034    VK_PA1 = 0xFD, 
     2035    VK_OEM_CLEAR = 0xFE, 
     2036
    20322037 
    20332038const TME_HOVER=1; 
     
    29142919 
    29152920struct SCROLLINFO { 
    2916     UINT cbSize
     2921    UINT cbSize = this.sizeof
    29172922    UINT fMask; 
    29182923    int nMin; 
     
    29512956 
    29522957struct HELPINFO { 
    2953     UINT cbSize
     2958    UINT cbSize = this.sizeof
    29542959    int iContextType; 
    29552960    int iCtrlId; 
     
    29612966 
    29622967struct MSGBOXPARAMSA { 
    2963     UINT cbSize
     2968    UINT cbSize = this.sizeof
    29642969    HWND hwndOwner; 
    29652970    HINSTANCE hInstance; 
     
    29752980 
    29762981struct MSGBOXPARAMSW { 
    2977     UINT cbSize
     2982    UINT cbSize = this.sizeof
    29782983    HWND hwndOwner; 
    29792984    HINSTANCE hInstance; 
     
    29953000 
    29963001struct FILTERKEYS { 
    2997     UINT cbSize
     3002    UINT cbSize = this.sizeof
    29983003    DWORD dwFlags; 
    29993004    DWORD iWaitMSec; 
     
    30043009 
    30053010struct HIGHCONTRASTA { 
    3006     UINT cbSize
     3011    UINT cbSize = this.sizeof
    30073012    DWORD dwFlags; 
    30083013    LPSTR lpszDefaultScheme; 
     
    30113016 
    30123017struct HIGHCONTRASTW { 
    3013     UINT cbSize
     3018    UINT cbSize = this.sizeof
    30143019    DWORD dwFlags; 
    30153020    LPWSTR lpszDefaultScheme; 
     
    30183023 
    30193024struct ICONMETRICSA { 
    3020     UINT cbSize
     3025    UINT cbSize = this.sizeof
    30213026    int iHorzSpacing; 
    30223027    int iVertSpacing; 
     
    30273032 
    30283033struct ICONMETRICSW { 
    3029     UINT cbSize
     3034    UINT cbSize = this.sizeof
    30303035    int iHorzSpacing; 
    30313036    int iVertSpacing; 
     
    30363041 
    30373042struct MINIMIZEDMETRICS { 
    3038     UINT cbSize
     3043    UINT cbSize = this.sizeof
    30393044    int iWidth; 
    30403045    int iHorzGap; 
     
    30453050 
    30463051struct MOUSEKEYS { 
    3047     UINT cbSize
     3052    UINT cbSize = this.sizeof
    30483053    DWORD dwFlags; 
    30493054    DWORD iMaxSpeed; 
     
    30563061 
    30573062struct NONCLIENTMETRICSA { 
    3058     UINT cbSize
     3063    UINT cbSize = this.sizeof
    30593064    int iBorderWidth; 
    30603065    int iScrollWidth; 
     
    30753080 
    30763081struct NONCLIENTMETRICSW { 
    3077     UINT cbSize
     3082    UINT cbSize = this.sizeof
    30783083    int iBorderWidth; 
    30793084    int iScrollWidth; 
     
    30943099 
    30953100struct SERIALKEYSA { 
    3096     UINT cbSize
     3101    UINT cbSize = this.sizeof
    30973102    DWORD dwFlags; 
    30983103    LPSTR lpszActivePort; 
     
    31053110 
    31063111struct SERIALKEYSW { 
    3107     UINT cbSize
     3112    UINT cbSize = this.sizeof
    31083113    DWORD dwFlags; 
    31093114    LPWSTR lpszActivePort; 
     
    31163121 
    31173122struct SOUNDSENTRYA { 
    3118     UINT cbSize
     3123    UINT cbSize = this.sizeof
    31193124    DWORD dwFlags; 
    31203125    DWORD iFSTextEffect; 
     
    31323137 
    31333138struct SOUNDSENTRYW { 
    3134     UINT cbSize
     3139    UINT cbSize = this.sizeof
    31353140    DWORD dwFlags; 
    31363141    DWORD iFSTextEffect; 
     
    31483153 
    31493154struct STICKYKEYS { 
    3150     DWORD cbSize
     3155    DWORD cbSize = this.sizeof
    31513156    DWORD dwFlags; 
    31523157} 
     
    31543159 
    31553160struct TOGGLEKEYS { 
    3156     DWORD cbSize
     3161    DWORD cbSize = this.sizeof
    31573162    DWORD dwFlags; 
    31583163} 
     
    31673172 
    31683173struct TRACKMOUSEEVENT { 
    3169     DWORD cbSize
     3174    DWORD cbSize = this.sizeof
    31703175    DWORD dwFlags; 
    31713176    HWND  hwndTrack; 
     
    31753180 
    31763181struct TPMPARAMS { 
    3177     UINT cbSize
     3182    UINT cbSize = this.sizeof
    31783183    RECT rcExclude; 
    31793184} 
     
    33133318 
    33143319struct ALTTABINFO { 
    3315     DWORD cbSize
     3320    DWORD cbSize = this.sizeof
    33163321    int   cItems; 
    33173322    int   cColumns; 
     
    33263331 
    33273332struct COMBOBOXINFO { 
    3328     DWORD cbSize
     3333    DWORD cbSize = this.sizeof
    33293334    RECT rcItem; 
    33303335    RECT rcButton; 
     
    33373342 
    33383343struct CURSORINFO { 
    3339     DWORD cbSize
     3344    DWORD cbSize = this.sizeof
    33403345    DWORD flags; 
    33413346    HCURSOR hCursor; 
     
    33453350 
    33463351struct MENUBARINFO { 
    3347     DWORD cbSize
     3352    DWORD cbSize = this.sizeof
    33483353    RECT  rcBar; 
    33493354    HMENU hMenu; 
     
    33603365 
    33613366struct MENUINFO { 
    3362     DWORD cbSize
     3367    DWORD cbSize = this.sizeof
    33633368    DWORD fMask; 
    33643369    DWORD dwStyle; 
     
    33743379 
    33753380struct SCROLLBARINFO { 
    3376     DWORD cbSize
     3381    DWORD cbSize = this.sizeof
    33773382    RECT  rcScrollBar; 
    33783383    int   dxyLineButton; 
     
    34083413 
    34093414struct LASTINPUTINFO { 
    3410     UINT cbSize
     3415    UINT cbSize = this.sizeof
    34113416    DWORD dwTime; 
    34123417} 
     
    34143419 
    34153420struct MONITORINFO { 
    3416     DWORD cbSize
     3421    DWORD cbSize = this.sizeof
    34173422    RECT rcMonitor; 
    34183423    RECT rcWork; 
     
    34533458 
    34543459struct FLASHWINFO { 
    3455     UINT  cbSize
     3460    UINT  cbSize = this.sizeof
    34563461    HWND  hwnd; 
    34573462    DWORD dwFlags; 
     
    35143519static if (WINVER >= 0x500) { 
    35153520struct GUITHREADINFO { 
    3516     DWORD cbSize
     3521    DWORD cbSize = this.sizeof
    35173522    DWORD flags; 
    35183523    HWND hwndActive; 
     
    35333538static if (_WIN32_WINNT >= 0x501) { 
    35343539struct BSMINFO { 
    3535     UINT  cbSize
     3540    UINT  cbSize = this.sizeof
    35363541    HDESK hdesk; 
    35373542    HWND  hwnd; 
     
    36343639 
    36353640struct RID_DEVICE_INFO { 
    3636     DWORD cbSize
     3641    DWORD cbSize = this.sizeof
    36373642    DWORD dwType; 
    36383643    union {