Changeset 120 for Include


Ignore:
Timestamp:
Feb 25, 2007, 12:55:24 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

最新のWindows SDKの内容を反映

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_msg.sbp

    r1 r120  
    135135Const WM_CREATE =                     &H0001
    136136' lParam of WM_CREATE message point to...
    137 Type CREATESTRUCT
     137Type CREATESTRUCTA
    138138    lpCreateParams As VoidPtr
    139139    hInstance As HINSTANCE
     
    145145    x As Long
    146146    style As Long
    147     lpszName As BytePtr
    148     lpszClass As BytePtr
     147    lpszName As PCSTR
     148    lpszClass As PCSTR
    149149    dwExStyle As DWord
    150150End Type
     151Type CREATESTRUCTW
     152    lpCreateParams As VoidPtr
     153    hInstance As HINSTANCE
     154    hMenu As HMENU
     155    hwndParent As HWND
     156    cy As Long
     157    cx As Long
     158    y As Long
     159    x As Long
     160    style As Long
     161    lpszName As PCWSTR
     162    lpszClass As PCWSTR
     163    dwExStyle As DWord
     164End Type
     165#ifdef UNICODE
     166TypeDef CREATESTRUCT = CREATESTRUCTW
     167#else
     168TypeDef CREATESTRUCT = CREATESTRUCTA
     169#endif
    151170Const WM_DESTROY =                    &H0002
    152171Const WM_MOVE =                       &H0003
     
    300319    dwLocaleId As DWord
    301320End Type
     321'#if WINVER > &h0500
    302322Const WM_GETOBJECT =                  &H003D
     323'#endif
    303324Const WM_COMPACTING =                 &H0041
    304325Const WM_COMMNOTIFY =                 &H0044
     
    412433Const WM_NCMBUTTONUP =                &H00A8
    413434Const WM_NCMBUTTONDBLCLK =            &H00A9
    414 
     435'#if _WIN32_WINNT >= &h0500
     436Const WM_NCXBUTTONDOWN =              &H00AB
     437Const WM_NCXBUTTONUP =                &H00AC
     438Const WM_NCXBUTTONDBLCLK =            &h00AD
     439'#endif
     440'#if _WIN32_WINNT >= &H0501
     441Const WM_INPUT_DEVICE_CHANGE =        &H00FE
     442Const WM_INPUT =                      &H00FF
     443'#endif
    415444Const WM_KEYFIRST =                   &H0100
    416445Const WM_KEYDOWN =                    &H0100
     
    422451Const WM_SYSCHAR =                    &H0106
    423452Const WM_SYSDEADCHAR =                &H0107
    424 Const WM_KEYLAST =                    &H0108
    425 
     453'#if _WIN32_WINNT >= &h0501
     454Const WM_UNICHAR =                    &H0109
     455Const UNICODE_NOCHAR =                &HFFFF
     456Const WM_KEYLAST =                    &H0109
     457'#else
     458'Const WM_KEYLAST =                    &H0108
     459'#endif
    426460Const WM_IME_STARTCOMPOSITION =       &H010D
    427461Const WM_IME_ENDCOMPOSITION =         &H010E
     
    482516Const   MNC_SELECT = 3
    483517Const WM_ENTERIDLE =                  &H0121
    484 
     518'#if WINVER >= &H0500
    485519Const WM_MENURBUTTONUP =              &H0122
    486520Const WM_MENUDRAG =                   &H0123
     
    489523Const WM_MENUCOMMAND =                &H0126
    490524
     525Const WM_CHANGEUISTATE =              &H0127
     526Const WM_UPDATEUISTATE =              &H0128
     527Const WM_QUERYUISTATE =               &H0129
     528'#endif
    491529Const WM_CTLCOLORMSGBOX =             &H0132
    492530Const WM_CTLCOLOREDIT =               &H0133
     
    496534Const WM_CTLCOLORSCROLLBAR =          &H0137
    497535Const WM_CTLCOLORSTATIC =             &H0138
     536Const MN_GETHMENU =                   &H01E1
    498537
    499538Const WM_MOUSEFIRST =                 &H0200
     
    508547Const WM_MBUTTONUP =                  &H0208
    509548Const WM_MBUTTONDBLCLK =              &H0209
     549'#if _WIN32_WINNT >= &H0400 || _WIN32_WINDOWS > &H0400
    510550Const WM_MOUSEWHEEL =                 &H020A
    511 Const WM_MOUSELAST =                  &H020A
     551'#endif
     552'#if _WIN32_WINNT >= &H0500
     553Const WM_XBUTTONDOWN =                &H020B
     554Const WM_XBUTTONUP =                  &H020C
     555Const WM_XBUTTONDBLCLK =              &H020D
     556'#endif
     557'#if _WIN32_WINNT >= &H0600
     558Const WM_MOUSEHWHEEL =                &H020E
     559'#endif
     560Const WM_MOUSELAST =                  &H020E
     561
    512562Const WHEEL_DELTA =                   120
    513563Const WHEEL_PAGESCROLL =              &HFFFFFFFF
     564Const GET_WHEEL_DELTA_WPARAM(wp) = (HIWORD(wp) As Integer)
     565'#if _WIN32_WINNT >= &H0500
     566Const GET_KEYSTATE_WPARAM(wp) = (LOWORD(wp))
     567Const GET_NCHITTEST_WPARAM(wp) = (LOWORD(wp) As Integer)
     568Const GET_XBUTTON_WPARAM(wp) = (HIWORD(wp))
     569
     570Const XBUTTON1 = &H0001
     571Const XBUTTON2 = &H0002
     572'#endif
    514573
    515574Const WM_PARENTNOTIFY =               &H0210
     
    517576Const WM_EXITMENULOOP =               &H0212
    518577
     578Const WM_NEXTMENU =                   &H0213
    519579Const WM_SIZING =                     &H0214
    520580' wParam for WM_SIZING message
     
    547607Const   PBT_APMOEMEVENT =               &H000B
    548608Const   PBT_APMRESUMEAUTOMATIC =        &H0012
     609'#if _WIN32_WINNT >= &H0502
     610Const   PBT_POWERSETTINGCHANGE =        &H0013
     611Type POWERBROADCAST_SETTING
     612    PowerSetting As GUID
     613    DataLength As DWord
     614    Data[1] As Byte
     615End Type
     616'#endif
    549617
    550618Const WM_DEVICECHANGE =               &H0219
     
    552620Const WM_MDICREATE =                  &H0220
    553621' lParam of WM_MDICREATE message point to...
    554 Type MDICREATESTRUCT
    555     szClass As BytePtr
    556     szTitle As BytePtr
     622Type MDICREATESTRUCTA
     623    szClass As PCSTR
     624    szTitle As PCSTR
    557625    hOwner As HANDLE
    558626    x As Long
     
    563631    lParam As LPARAM
    564632End Type
     633Type MDICREATESTRUCTW
     634    szClass As PCWSTR
     635    szTitle As PCWSTR
     636    hOwner As HANDLE
     637    x As Long
     638    y As Long
     639    cx As Long
     640    cy As Long
     641    style As DWord
     642    lParam As LPARAM
     643End Type
     644#ifdef UNICODE
     645TypeDef MDICREATESTRUCT = MDICREATESTRUCTW
     646#else
     647TypeDef MDICREATESTRUCT = MDICREATESTRUCTA
     648#endif
    565649Const WM_MDIDESTROY =                 &H0221
    566650Const WM_MDIACTIVATE =                &H0222
     
    589673Const WM_IME_SELECT =                 &H0285
    590674Const WM_IME_CHAR =                   &H0286
     675'#if WINVER >= 0x0500
    591676Const WM_IME_REQUEST =                &H0288
     677'#endif
    592678Const WM_IME_KEYDOWN =                &H0290
    593679Const WM_IME_KEYUP =                  &H0291
    594 
     680'#if _WIN32_WINNT >= &H0400 Or WINVER >= &H0500
    595681Const WM_MOUSEHOVER =                 &H02A1
    596682Const WM_MOUSELEAVE =                 &H02A3
    597 
     683'#endif
     684'#if WINVER >= &H0500
     685Const WM_NCMOUSEHOVER =               &H02A1
     686Const WM_NCMOUSELEAVE =               &H02A3
     687'#endif
     688'#if _WIN32_WINNT >= &H0501
     689Const WM_WTSSESSION_CHANGE =          &H02B1
     690
     691Const WM_TABLET_FIRST =               &H02C0
     692Const WM_TABLET_LAST =                &H02DF
     693'#endif
    598694Const WM_CUT =                        &H0300
    599695Const WM_COPY =                       &H0301
     
    625721Const   PRF_CHILDREN =      &H00000010
    626722Const   PRF_OWNED =         &H00000020
     723
     724'#if _WIN32_WINNT >= &H0500
     725Const WM_APPCOMMAND =                 &H0319
     726'#endif
     727'#if _WIN32_WINNT >= &H0501
     728Const WM_THEMECHANGED =               &H031A
     729'#endif
     730
     731'#if _WIN32_WINNT >= &H0501
     732Const WM_CLIPBOARDUPDATE =            &H031D
     733'#endif
     734
     735'#if _WIN32_WINNT >= &H0600
     736Const WM_DWMCOMPOSITIONCHANGED =      &H031E
     737Const WM_DWMNCRENDERINGCHANGED =      &H031F
     738Const WM_DWMCOLORIZATIONCOLORCHANGED =&H0320
     739Const WM_DWMWINDOWMAXIMIZEDCHANGE =   &H0321
     740'#endif
     741
     742'#if WINVER >= &H0600
     743Const WM_GETTITLEBARINFOEX =          &H033F
     744'#endif
    627745
    628746Const WM_HANDHELDFIRST =              &H0358
Note: See TracChangeset for help on using the changeset viewer.