Ignore:
Timestamp:
Jul 11, 2008, 1:24:57 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

細かい修正。
Str$にStringを受け取る多重定義を追加した。
複数libを作るバッチで、コンパイルエラーが発生したら以後のビルドを行わないようにした。
Threadクラスの_beginthreadexをCreateThreadへ変更した。
ole2.abを全体が使える古い版へ戻した。
SendMessageCallback/SendMessageTimeoutを追加した。
GCHandleで登録が解除されない状態が起こる問題を直した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/api_window.sbp

    r521 r536  
    6060Const _FuncName_SendDlgItemMessage = "SendDlgItemMessageW"
    6161Const _FuncName_SendMessage = "SendMessageW"
     62Const _FuncName_SendMessageCallback = "SendMessageCallbackW"
     63Const _FuncName_SendMessageTimeout = "SendMessageTimeoutW"
    6264Const _FuncName_SendNotifyMessage = "SendNotifyMessageW"
    6365Const _FuncName_SetDlgItemText = "SetDlgItemTextW"
     
    137139Const _FuncName_SendDlgItemMessage = "SendDlgItemMessageA"
    138140Const _FuncName_SendMessage = "SendMessageA"
     141Const _FuncName_SendMessageCallback = "SendMessageCallbackA"
     142Const _FuncName_SendMessageTimeout = "SendMessageTimeoutA"
    139143Const _FuncName_SendNotifyMessage = "SendNotifyMessageA"
    140144Const _FuncName_SetDlgItemText = "SetDlgItemTextA"
     
    11941198Const MB_YESNO =                  &H00000004
    11951199Const MB_RETRYCANCEL =            &H00000005
     1200Const MB_CANCELTRYCONTINUE =      &H00000006
    11961201Const MB_ICONHAND =               &H00000010
    11971202Const MB_ICONQUESTION =           &H00000020
     
    12181223Const MB_RTLREADING =             &H00100000
    12191224Const MB_SERVICE_NOTIFICATION =   &H00200000
     1225
     1226Const MB_TYPEMASK = &h0000000F
     1227Const MB_ICONMASK = &h000000F0
     1228Const MB_DEFMASK  = &h00000F00
     1229Const MB_MODEMASK = &h00003000
     1230Const MB_MISCMASK = &h0000C000
    12201231#ifdef UNICODE
    12211232Declare Function MessageBox Lib "user32" Alias "MessageBoxW" (hwnd As HWND, pText As PCWSTR, pCaption As PCWSTR, uType As DWord) As Long
     
    12901301Declare Function SendDlgItemMessage Lib "user32" Alias _FuncName_SendDlgItemMessage (hDlg As HWND, nIDDlgItem As Long, Msg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
    12911302Declare Function SendMessage Lib "user32" Alias _FuncName_SendMessage (hWnd As HWND, wMsg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
     1303
     1304TypeDef SENDASYNCPROC = *Sub(hwnd As HWND, uMsg As DWord, dwData As ULONG_PTR, lResult As LRESULT)
     1305Declare Function SendMessageCallback Lib "user32" Alias _FuncName_SendMessageCallback (hWnd As HWND, Msg As DWord, wParam As WPARAM, lParam As LPARAM, lpResultCallBack As SENDASYNCPROC, dwData As ULONG_PTR) As BOOL
     1306Const SMTO_NORMAL = &h0000
     1307Const SMTO_BLOCK = &h0001
     1308Const SMTO_ABORTIFHUNG = &h0002
     1309'#if WINVER >= &h0500
     1310'Const SMTO_NOTIMEOUTIFNOTHUNG = &h0008
     1311'#endif
     1312'#if WINVER >= &h0600
     1313'Const SMTO_ERRORONEXIT = &h0020
     1314'#endif
     1315Declare Function SendMessageTimeout Lib "user32" Alias _FuncName_SendMessageTimeout (hWnd As HWND, Msg As DWord, wParam As WPARAM, lParam As LPARAM, fuFlags As DWord, uTimeout As DWord, ByRef dwResult As ULONG_PTR) As LRESULT
    12921316Declare Function SendNotifyMessage Lib "user32" Alias _FuncName_SendNotifyMessage (hWnd As HWND, wMsg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
    12931317Declare Function SetActiveWindow Lib "user32" (hWnd As HWND) As HWND
     
    18251849#endif
    18261850
    1827 /*#ifdef(WINVER >= 0x0500)
     1851/*#ifdef(WINVER >= &h0500)
    18281852Declare Function EnumDisplaySettingsExA Lib "user32" (ByVal lpszDeviceName As LPCSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEA, ByVal dwFlags As DWord) As BOOL
    18291853Declare Function EnumDisplaySettingsExW Lib "user32" (ByVal lpszDeviceName As LPCWSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEW, ByVal dwFlags As DWord) As BOOL
     
    18431867Declare Function EnumDisplayDevices Lib "user32" Alias _FuncName_EnumDisplayDevices (ByVal lpDevice As LPCSTR, ByVal iDevNum As DWord, ByVal lpDisplayDevice As *DISPLAY_DEVICEA, ByVal dwFlags As DWord) As BOOL
    18441868#endif
    1845 #endif */ /* WINVER >= 0x0500 */
     1869#endif */ /* WINVER >= &h0500 */
    18461870#endif ' _INC_GDI
    18471871
Note: See TracChangeset for help on using the changeset viewer.