Changeset 160 for Include/api_window.sbp
- Timestamp:
- Mar 13, 2007, 1:13:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_window.sbp
r141 r160 8 8 ' Window API Function Names 9 9 #ifdef UNICODE 10 Const _FuncName_CreateWindowEx = "CreateWindowExW"11 10 Const _FuncName_CallWindowProc = "CallWindowProcW" 12 11 Const _FuncName_CharLower = "CharLowerW" 12 Const _FuncName_CharNext = "CharNextW" 13 Const _FuncName_CharPrev = "CharPrevW" 13 14 Const _FuncName_CharUpper = "CharUpperW" 15 Const _FuncName_CreateAcceleratorTable = "CreateAcceleratorTableW" 16 Const _FuncName_CreateWindowEx = "CreateWindowExW" 17 Const _FuncName_DefDlgProc = "DefDlgProcW" 14 18 Const _FuncName_DefWindowProc = "DefWindowProcW" 19 Const _FuncName_DialogBoxIndirectParam = "DialogBoxIndirectParamW" 15 20 Const _FuncName_DispatchMessage = "DispatchMessageW" 21 Const _FuncName_DlgDirList = "DlgDirListW" 22 Const _FuncName_DlgDirListComboBox = "DlgDirListComboBoxW" 23 Const _FuncName_DlgDirSelectComboBoxEx = "DlgDirSelectComboBoxExW" 24 Const _FuncName_DlgDirSelectEx = "DlgDirSelectExW" 16 25 Const _FuncName_DrawText = "DrawTextW" 17 26 Const _FuncName_DrawTextEx = "DrawTextExW" … … 24 33 Const _FuncName_GetClipboardFormatName = "GetClipboardFormatNameW" 25 34 Const _FuncName_GetDlgItemText = "GetDlgItemTextW" 35 Const _FuncName_GetMonitorInfo = "GetMonitorInfoW" 26 36 Const _FuncName_GetMenuItemInfo = "GetMenuItemInfoW" 27 37 Const _FuncName_GetMessage = "GetMessageW" … … 31 41 Const _FuncName_GetWindowText = "GetWindowTextW" 32 42 Const _FuncName_GetWindowTextLength = "GetWindowTextLengthW" 43 Const _FuncName_GetWindowModuleFileName = "GetWindowModuleFileNameW" 33 44 Const _FuncName_InsertMenuItem = "InsertMenuItemW" 34 45 Const _FuncName_IsCharAlpha = "IsCharAlphaW" … … 42 53 Const _FuncName_LoadIcon = "LoadIconW" 43 54 Const _FuncName_LoadImage = "LoadImageW" 55 Const _FuncName_LoadString = "LoadStringW" 56 Const _FuncName_MapVirtualKey = "MapVirtualKeyW" 44 57 Const _FuncName_PeekMessage = "PeekMessageW" 45 58 Const _FuncName_PostMessage = "PostMessageW" … … 54 67 Const _FuncName_SetDlgItemText = "SetDlgItemTextW" 55 68 Const _FuncName_SetClassLong = "SetClassLongW" 56 Const _FuncName_SetClassLong = "SetClassLongW"69 Const _FuncName_SetClassLongPtr = "SetClassLongPtrW" 57 70 Const _FuncName_SetMenuItemInfo = "SetMenuItemInfoW" 58 71 Const _FuncName_SetProp = "SetPropW" … … 60 73 Const _FuncName_SetWindowLongPtr = "SetWindowLongPtrW" 61 74 Const _FuncName_SetWindowText = "SetWindowTextW" 75 Const _FuncName_SetWindowsHookEx = "SetWindowsHookExW" 62 76 Const _FuncName_SystemParametersInfo = "SystemParametersInfoW" 77 Const _FuncName_TranslateAccelerator = "TranslateAcceleratorW" 63 78 Const _FuncName_UnregisterClass = "UnregisterClassW" 64 79 Const _FuncName_wsprintf = "wsprintfW" 65 80 Const _FuncName_wvsprintf = "wvsprintfW" 66 81 #else 67 Const _FuncName_CreateWindowEx = "CreateWindowExA"68 82 Const _FuncName_CallWindowProc = "CallWindowProcA" 69 83 Const _FuncName_CharLower = "CharLowerA" 84 Const _FuncName_CharNext = "CharNextA" 85 Const _FuncName_CharPrev = "CharPrevA" 70 86 Const _FuncName_CharUpper = "CharUpperA" 87 Const _FuncName_CreateAcceleratorTable = "CreateAcceleratorTableA" 88 Const _FuncName_CreateWindowEx = "CreateWindowExA" 89 Const _FuncName_DefDlgProc = "DefDlgProcA" 71 90 Const _FuncName_DefWindowProc = "DefWindowProcA" 91 Const _FuncName_DialogBoxIndirectParam = "DialogBoxIndirectParamA" 72 92 Const _FuncName_DispatchMessage = "DispatchMessageA" 93 Const _FuncName_DlgDirList = "DlgDirListA" 94 Const _FuncName_DlgDirListComboBox = "DlgDirListComboBoxA" 95 Const _FuncName_DlgDirSelectComboBoxEx = "DlgDirSelectComboBoxExA" 96 Const _FuncName_DlgDirSelectEx = "DlgDirSelectExA" 73 97 Const _FuncName_DrawText = "DrawTextA" 74 98 Const _FuncName_DrawTextEx = "DrawTextExA" … … 83 107 Const _FuncName_GetMenuItemInfo = "GetMenuItemInfoA" 84 108 Const _FuncName_GetMessage = "GetMessageA" 109 Const _FuncName_GetMonitorInfo = "GetMonitorInfoA" 85 110 Const _FuncName_GetProp = "GetPropA" 86 111 Const _FuncName_GetWindowLong = "GetWindowLongA" … … 88 113 Const _FuncName_GetWindowText = "GetWindowTextA" 89 114 Const _FuncName_GetWindowTextLength = "GetWindowTextLengthA" 115 Const _FuncName_GetWindowModuleFileName = "GetWindowModuleFileNameA" 90 116 Const _FuncName_InsertMenuItem = "InsertMenuItemA" 91 117 Const _FuncName_IsCharAlpha = "IsCharAlphaA" … … 99 125 Const _FuncName_LoadIcon = "LoadIconA" 100 126 Const _FuncName_LoadImage = "LoadImageA" 127 Const _FuncName_LoadString = "LoadStringA" 128 Const _FuncName_MapVirtualKey = "MapVirtualKeyA" 101 129 Const _FuncName_PeekMessage = "PeekMessageA" 102 130 Const _FuncName_PostMessage = "PostMessageA" … … 116 144 Const _FuncName_SetWindowLong = "SetWindowLongA" 117 145 Const _FuncName_SetWindowLongPtr = "SetWindowLongPtrA" 146 Const _FuncName_SetWindowsHookEx = "SetWindowsHookExA" 118 147 Const _FuncName_SetWindowText = "SetWindowTextA" 119 148 Const _FuncName_SystemParametersInfo = "SystemParametersInfoA" 149 Const _FuncName_TranslateAccelerator = "TranslateAcceleratorA" 120 150 Const _FuncName_UnregisterClass = "UnregisterClassA" 121 151 Const _FuncName_wsprintf = "wsprintfA" … … 123 153 #endif 124 154 125 Const CREATEPROCESS_MANIFEST_RESOURCE_ID = 1 126 155 Type _System_DeclareHandle_HDWP:unused As DWord:End Type 156 TypeDef HDWP = *_System_DeclareHandle_HDWP 127 157 128 158 Type MSG … … 135 165 End Type 136 166 137 138 Const MAKEINTRESOURCEW(i) = i As PCWSTR 139 Const MAKEINTRESOURCEA(i) = i As PCSTR 140 Const MAKEINTRESOURCE(i) = i As PCTSTR 141 142 TypeDef WNDENUMPROC = *Function(ByVal hwnd As HWND, ByVal lParam As LPARAM) As BOOL 167 Const IS_INTRESOURCE(_r) = ((((_r) As ULONG_PTR) >> 16) = 0) 168 Const MAKEINTRESOURCEW(i) = ((((i) As Word) As ULONG_PTR) As PCWSTR) 169 Const MAKEINTRESOURCEA(i) = ((((i) As Word) As ULONG_PTR) As PCSTR) 170 Const MAKEINTRESOURCE(i) = ((((i) As Word) As ULONG_PTR) As PCTSTR) 171 172 Const RT_CURSOR = MAKEINTRESOURCE(1) 173 Const RT_BITMAP = MAKEINTRESOURCE(2) 174 Const RT_ICON = MAKEINTRESOURCE(3) 175 Const RT_MENU = MAKEINTRESOURCE(4) 176 Const RT_DIALOG = MAKEINTRESOURCE(5) 177 Const RT_STRING = MAKEINTRESOURCE(6) 178 Const RT_FONTDIR = MAKEINTRESOURCE(7) 179 Const RT_FONT = MAKEINTRESOURCE(8) 180 Const RT_ACCELERATOR = MAKEINTRESOURCE(9) 181 Const RT_RCDATA = MAKEINTRESOURCE(10) 182 Const RT_MESSAGETABLE = MAKEINTRESOURCE(11) 183 184 Const DIFFERENCE = 11 185 Const RT_GROUP_CURSOR = MAKEINTRESOURCE((RT_CURSOR) As ULONG_PTR + DIFFERENCE) 186 Const RT_GROUP_ICON = MAKEINTRESOURCE((RT_ICON) As ULONG_PTR + DIFFERENCE) 187 Const RT_VERSION = MAKEINTRESOURCE(16) 188 Const RT_DLGINCLUDE = MAKEINTRESOURCE(17) 189 Const RT_PLUGPLAY = MAKEINTRESOURCE(19) 190 Const RT_VXD = MAKEINTRESOURCE(20) 191 Const RT_ANICURSOR = MAKEINTRESOURCE(21) 192 Const RT_ANIICON = MAKEINTRESOURCE(22) 193 Const RT_HTML = MAKEINTRESOURCE(23) 194 Const RT_MANIFEST = MAKEINTRESOURCE(24) 195 Const CREATEPROCESS_MANIFEST_RESOURCE_ID = MAKEINTRESOURCE(1) 196 Const ISOLATIONAWARE_MANIFEST_RESOURCE_ID = MAKEINTRESOURCE(2) 197 Const ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID = MAKEINTRESOURCE(3) 198 Const MINIMUM_RESERVED_MANIFEST_RESOURCE_ID = MAKEINTRESOURCE(1) 199 Const MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID = MAKEINTRESOURCE(16) 200 201 TypeDef WNDENUMPROC = *Function(hwnd As HWND, lParam As LPARAM) As BOOL 202 TypeDef HOOKPROC = *Function(code As Long, wParam As WPARAM, lParam As LPARAM) As LRESULT 203 TypeDef MONITORENUMPROC = *Function(hm As HMONITOR, hdc As HDC, ByRef rc As RECT, dwData As LPARAM) As BOOL 143 204 144 205 Const CS_VREDRAW = &H0001 … … 373 434 374 435 Declare Function BringWindowToTop Lib "user32" (hWnd As HWND) As Long 436 Declare Function CallNextHookEx Lib "user32" (hHook As HHOOK, nCode As Long, wParam As WPARAM, lParam As LPARAM) As LRESULT 375 437 Declare Function CallWindowProc Lib "user32" Alias _FuncName_CallWindowProc (lpPrevWndFunc As WNDPROC, hWnd As HWND, Msg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT 438 Declare Function ChangeClipboardChain Lib "user32" (hwndRemove As HWND, hwndNewNext As HWND) As BOOL 376 439 Declare Function CharLower Lib "user32" Alias _FuncName_CharLower (psz As PTSTR) As DWord 440 Declare Function CharNext Lib "user32" Alias _FuncName_CharNext (lpszCurrent As LPCTSTR) As LPTSTR 441 Declare Function CharNextExA Lib "user32" (CodePage As Word, lpCurrentChar As LPCSTR, dwFlags As DWord) As LPSTR 442 Declare Function CharPrev Lib "user32" Alias _FuncName_CharPrev (lpszStart As LPCTSTR, lpszCurrent As LPCTSTR) As LPTSTR 443 Declare Function CharPrevExA Lib "user32" (CodePage As Word, lpStart As LPCSTR, lpCurrentChar As LPCSTR, dwFlags As DWord) As LPSTR 377 444 Declare Function CharUpper Lib "user32" Alias _FuncName_CharUpper (psz As PTSTR) As DWord 378 445 Declare Function CheckMenuItem Lib "user32" (hMenu As HMENU, uIDCheckItem As DWord, uCheck As DWord) As DWord 379 446 Declare Function CheckMenuRadioItem Lib "user32" (hMenu As HMENU, idFirst As DWord, idLast As DWord, idCheck As DWord, uFlags As DWord) As BOOL 447 Declare Function CheckDlgButton Lib "user32" (hDlg As HWND, nIDButton As Long, uCheck As DWord) As BOOL 448 Declare Function CheckRadioButton Lib "user32" (hDlg As HWND, nIDFirstButton As Long, nIDLastButton As Long, nIDCheckButton As Long) As BOOL 380 449 Declare Function ChildWindowFromPoint Lib "user32" (hWndParent As HWND, x As Long, y As Long) As HWND 381 382 450 Const CWP_ALL = &H0000 383 451 Const CWP_SKIPINVISIBLE = &H0001 … … 392 460 Declare Function CopyImage Lib "user32" (hImage As HANDLE, uType As DWord, cxDesired As Long, cyDesired As Long, fuFlags As DWord) As HANDLE 393 461 Declare Function CountClipboardFormats Lib "user32" () As Long 462 Const FVIRTKEY = &H01 463 Const FNOINVERT = &H02 464 Const FSHIFT = &H04 465 Const FCONTROL = &H08 466 Const FALT = &H10 467 Type ACCEL 468 fVirt As Byte 469 key As Word 470 cmd As Word 471 End Type 472 Declare Function CreateAcceleratorTable Lib "user32" Alias _FuncName_CreateAcceleratorTable (ByRef acl As ACCEL, i As Long) As HACCEL 394 473 Declare Function CreateCaret Lib "user32" (hWnd As HWND, hBitmap As HBITMAP, nWidth As Long, nHeight As Long) As BOOL 395 474 Declare Function CreateCursor Lib "user32" (hInst As HINSTANCE, xHotSpot As Long, yHotSpot As Long, nWidth As Long, nHeight As Long, pvANDPlane As VoidPtr, pvXORPlane As VoidPtr) As HCURSOR … … 411 490 Declare Function CreateWindowEx Lib "user32" Alias _FuncName_CreateWindowEx (dwExStyle As DWord, pClassName As PCTSTR, lpWindowName As PCTSTR, dwStyle As DWord, x As Long, y As Long, nWidth As Long, nHeight As Long, hwndParent As HWND, hmenu As HMENU, hInstance As HINSTANCE, pParm As VoidPtr) As HWND 412 491 492 Declare Function DefDlgProc Lib "user32" Alias _FuncName_DefWindowProc (hDlg As HWND, Msg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT 413 493 Declare Function DefWindowProc Lib "user32" Alias _FuncName_DefWindowProc (hWnd As HWND, wMsg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT 414 494 Declare Function DeleteMenu Lib "user32" (hMenu As HMENU, uPosition As DWord, uFlags As DWord) As BOOL 495 Declare Function DestroyAcceleratorTable Lib "user32" (hAccel As HACCEL) As BOOL 415 496 Declare Function DestroyCaret Lib "user32" () As BOOL 416 497 Declare Function DestroyCursor Lib "user32" (hCursor As HCURSOR) As BOOL … … 418 499 Declare Function DestroyMenu Lib "user32" (hMenu As HMENU) As BOOL 419 500 Declare Function DestroyWindow Lib "user32" (hWnd As HWND) As BOOL 501 Type DLGITEMTEMPLATE 502 style As DWord 503 dwExtendedStyle As DWord 504 x As Integer 505 y As Integer 506 cx As Integer 507 cy As Integer 508 id As Word 509 End Type 510 Type DLGTEMPLATE 511 style As DWord 512 dwExtendedStyle As DWord 513 cdit As Word 514 x As Integer 515 y As Integer 516 cx As Integer 517 cy As Integer 518 End Type 519 Declare Function DialogBoxIndirectParam Lib "user32" Alias _FuncName_DialogBoxIndirectParam (hInstance As HINSTANCE, DialogTemplate As *DLGTEMPLATE, hwndParent As HWND, pDialogFunc As DLGPROC, InitParam As LPARAM) As LONG_PTR 420 520 Declare Function DispatchMessage Lib "user32" Alias _FuncName_DispatchMessage (ByRef Msg As MSG) As LRESULT 421 521 Declare Function DlgDirList Lib "user32" Alias _FuncName_DlgDirList (hDlg As HWND, lpPathSpec As LPTSTR, nIDListBox As Long, nIDStaticPath As Long, uFileType As DWord) As Long 522 Declare Function DlgDirListComboBox Lib "user32" Alias _FuncName_DlgDirListComboBox (hDlg As HWND, lpPathSpec As LPTSTR, nIDComboBox As Long, nIDStaticPath As Long,uFileType As DWord) As Long 523 Declare Function DlgDirSelectComboBoxEx Lib "user32" Alias _FuncName_DlgDirSelectComboBoxEx (hDlg As HWND, lpString As LPTSTR, nCount As Long, nIDComboBox As Long) As BOOL 524 Declare Function DlgDirSelectEx Lib "user32" Alias _FuncName_DlgDirSelectEx (hDlg As HWND, lpString As LPTSTR, nCount As Long, nIDListBox As Long) As BOOL 422 525 Const BDR_RAISEDOUTER = &H0001 423 526 Const BDR_SUNKENOUTER = &H0002 … … 545 648 546 649 Declare Function EnableWindow Lib "user32" (hWnd As HWND, bEnable As BOOL) As BOOL 650 Declare Function EndDialogAPI Lib "user32" Alias "EndDialog" (hwndDlg As HWND, nRet As Long) As BOOL 547 651 Declare Function EndPaint Lib "user32" (hWnd As HWND, ByRef lpPaint As PAINTSTRUCT) As BOOL 548 652 Declare Function EnumClipboardFormats Lib "user32" (uFormat As DWord) As DWord 549 653 Declare Function EnumChildWindows Lib "user32" (hwndParent As HWND, pEnumFunc As WNDENUMPROC, lParam As LPARAM) As BOOL 654 Declare Function EnumDisplayMonitors Lib "user32.dll" (ByVal hdc As HDC, lprcClip As *RECT, ByVal lpfnEnum As MONITORENUMPROC, dwData As LPARAM) As BOOL 550 655 Declare Function EnumThreadWindows Lib "user32" (dwThreadId As DWord, pEnumFunc As WNDENUMPROC, lParam As LPARAM) As BOOL 551 656 Declare Function EnumWindows Lib "user32" (pEnumFunc As WNDENUMPROC, lParam As LPARAM) As BOOL 657 Declare Function ExitWindowsEx Lib "user32" (uFlags As DWord, dwReserved As DWord) As BOOL 552 658 Declare Function FillRect Lib "user32" (hdc As HDC, ByRef lpRect As RECT, hBrush As HBRUSH) As BOOL 553 659 Declare Function FindWindow Lib "user32" Alias _FuncName_FindWindow (pClassName As PCTSTR, lpWindowName As PCTSTR) As HWND 554 660 Declare Function FindWindowEx Lib "user32" Alias _FuncName_FindWindowEx (hwndParent As HWND, hwndChildAfter As HWND, pszClass As PCTSTR, pszWindow As PCTSTR) As HWND 555 661 Declare Function FlashWindow Lib "user32" (hWnd As HWND, bInvert As BOOL) As BOOL 662 Const FLASHW_STOP = 0 663 Const FLASHW_CAPTION = 1 664 Const FLASHW_TRAY = 2 665 Const FLASHW_ALL = (FLASHW_CAPTION Or FLASHW_TRAY) 666 Const FLASHW_TIMER = 4 667 Const FLASHW_TIMERNOFG = 12 668 Type FLASHWINFO 669 cbSize As DWord 670 hWnd As HWND 671 dwFlags As DWord 672 uCount As DWord 673 dwTimeout As DWord 674 End Type 675 Declare Function FlashWindowEx Lib "user32" (ByRef fwi As FLASHWINFO) As Long 556 676 Declare Function FrameRect Lib "user32" (hdc As HDC, ByRef lpRect As RECT, hBrush As HBRUSH) As Long 557 677 Declare Function GetActiveWindow Lib "user32" () As HWND … … 584 704 Declare Function GetClipboardData Lib "user32" (uFormat As DWord) As HANDLE 585 705 Declare Function GetClipboardFormatName Lib "user32" Alias _FuncName_GetClipboardFormatName (uFormat As DWord, pszFormatName As PTSTR, cchMaxCount As Long) As BOOL 706 Declare Function GetClipboardOwner Lib "user32" () As HWND 707 Declare Function GetClipboardViewer Lib "user32" () As HWND 586 708 Declare Function GetClipCursor Lib "user32" (ByRef lpRect As RECT) As BOOL 587 709 Declare Function GetCursor Lib "user32" () As HCURSOR … … 604 726 605 727 Declare Function GetDesktopWindow Lib "user32" () As HWND 728 Declare Function GetDialogBaseUnits Lib "user32" () As Long 606 729 Declare Function GetDlgCtrlID Lib "user32" (hWnd As HWND) As Long 607 730 Declare Function GetDlgItem Lib "user32" (hDlg As HWND, nIDDlgItem As Long) As HWND 731 Declare Function GetDlgItemInt Lib "user32" (hDlg As HWND, nIDDlgItem As Long, lpTranslated As *BOOL, bSigned As BOOL) As DWord 608 732 Declare Function GetDlgItemText Lib "user32" Alias _FuncName_GetDlgItemText (hDlg As HWND, nIDDlgItem As Long, pString As PTSTR, nMaxCount As Long) As Long 609 733 Declare Function GetDoubleClickTime Lib "user32" () As DWord … … 613 737 Declare Function GetKeyboardState Lib "user32" (lpKeyState As *Byte) As BOOL 614 738 Declare Function GetKeyState Lib "user32" (nVirtKey As Long) As Integer 739 Declare Function GetListBoxInfo Lib "user32" (ByVal hwnd As HWND) As DWord 615 740 Declare Function GetMenu Lib "user32" (hWnd As HWND) As HMENU 616 741 … … 624 749 Declare Function GetMenuItemInfo Lib "user32" Alias _FuncName_GetMenuItemInfo (hMenu As HMENU, uItem As DWord, fByPosition As DWord, ByRef mii As MENUITEMINFO) As BOOL 625 750 Declare Function GetMessage Lib "user32" Alias _FuncName_GetMessage (ByRef Msg As MSG, hWnd As HWND, wMsgFilterMin As DWord, wMsgFilterMax As DWord) As Long 751 Const CCHDEVICENAME = 32 752 Type MONITORINFO 753 cbSize As DWord 754 rcMonitor As RECT 755 rcWork As RECT 756 dwFlags As DWord 757 End Type 758 Type MONITORINFOEXA 759 cbSize As DWord 760 rcMonitor As RECT 761 rcWork As RECT 762 dwFlags As DWord 763 szDevice[ELM(CCHDEVICENAME)] As SByte 764 End Type 765 Type MONITORINFOEXW 766 cbSize As DWord 767 rcMonitor As RECT 768 rcWork As RECT 769 dwFlags As DWord 770 szDevice[ELM(CCHDEVICENAME)] As WCHAR 771 End Type 772 Declare Function GetMonitorInfo Lib "user32.dll" Alias _FuncName_GetMonitorInfo (hMonitor As HMONITOR, ByRef mi As Any /*MONITORINFO*/) As BOOL 773 Declare Function GetNextDlgGroupItem Lib "user32" (hDlg As HWND, hCtl As HWND, bPrevious As BOOL) As HWND 774 Declare Function GetNextDlgTabItem Lib "user32" (hDlg As HWND, hCtl As HWND, bPrevious As BOOL) As HWND 775 Declare Function GetOpenClipboardWindow Lib "user32" () As HWND 626 776 Declare Function GetParent Lib "user32" (hWnd As HWND) As HWND 777 Declare Function GetPriorityClipboardFormat Lib "user32" (lpFormatList As *DWord, FormatNum As Long) As Long 627 778 Declare Function GetProp Lib "user32" Alias _FuncName_GetProp (hWnd As HWND, pString As PCTSTR) As HANDLE 628 779 Declare Function GetScrollInfo Lib "user32" (hWnd As HWND, fnBar As Long, ByRef lpsi As SCROLLINFO) As BOOL … … 787 938 Declare Function GetWindowLongPtr Lib "user32" Alias _FuncName_GetWindowLong (hWnd As HWND, nIndex As Long) As LONG_PTR 788 939 #endif 940 Declare Function GetWindowModuleFileName Lib "user32" Alias _FuncName_GetWindowModuleFileName (hwnd As HWND, pszFileName As LPTSTR, cchFileNameMax As DWord) As DWord 789 941 790 942 Const WPF_SETMINPOSITION = &H0001 … … 815 967 Declare Function IsCharUpper Lib "user32" Alias _FuncName_IsCharUpper (ch As TCHAR) As BOOL 816 968 Declare Function IsChild Lib "user32" (hWndParent As HWND, hWnd As HWND) As BOOL 969 Declare Function IsClipboardFormatAvailable Lib "user32" (ByVal wFormat As DWord) As BOOL 817 970 Declare Function IsDialogMessage Lib "user32" Alias _FuncName_IsDialogMessage (hDlg As HWND, ByRef msg As MSG) As BOOL 971 Declare Function IsDlgButtonChecked Lib "user32" (hDlg As HWND, nIDButton As Long) As DWord 818 972 Declare Function IsIconic Lib "user32" (hWnd As HWND) As BOOL 819 973 Declare Function IsWindow Lib "user32" (hWnd As HWND) As BOOL … … 876 1030 Const LR_SHARED = &H8000 877 1031 Declare Function LoadImage Lib "user32" Alias _FuncName_LoadImage (hinst As HINSTANCE, pszName As PCTSTR, dwImageType As DWord, cxDesired As Long, cyDesired As Long, dwFlags As DWord) As HANDLE 878 1032 Declare Function LoadString Lib "user32" Alias _FuncName_LoadString (hInstance As HINSTANCE, uID As DWord, lpBuffer As LPTSTR, nBufferMax As Long) As Long 879 1033 Declare Function LockWindowUpdate Lib "user32" (hWnd As HWND) As BOOL 1034 Declare Function MapVirtualKey Lib "user32" Alias _FuncName_MapVirtualKey (wCode As DWord, wMapType As DWord) As DWord 880 1035 Declare Function MapWindowPoints Lib "user32" ( 881 1036 hWndFrom As HWND, … … 945 1100 Declare Sub PostQuitMessage Lib "user32" (nExitCode As Long) 946 1101 Declare Function PostThreadMessage Lib "user32" Alias _FuncName_PostThreadMessage (idThread As DWord, Msg As DWord, wParam As WPARAM, lParam As LPARAM) As BOOL 1102 Declare Function RealChildWindowFromPoint Lib "user32" (hwndParent As HWND, xPoint As Long, yPoint As Long) As HWND 947 1103 948 1104 Const RDW_INVALIDATE = &H0001 … … 962 1118 Declare Function RegisterClassEx Lib "user32" Alias _FuncName_RegisterClassEx (ByRef wcx As WNDCLASSEX) As ATOM 963 1119 Declare Function RegisterClipboardFormat Lib "user32" Alias _FuncName_RegisterClipboardFormat (pszFormat As PCTSTR) As DWord 1120 Declare Function RegisterHotKey lib "user32.dll" (hwnd As HWND, id As Long, dwModufuers As DWord, vk As DWord) As BOOL 964 1121 Declare Function RegisterWindowMessage Lib "user32" Alias _FuncName_RegisterWindowMessage (pString As PCTSTR) As DWord 965 1122 Declare Function ReleaseCapture Lib "user32" () As BOOL … … 967 1124 Declare Function RemoveMenu Lib "user32" (hMenu As HMENU, uPosition As DWord, uFlags As DWord) As BOOL 968 1125 Declare Function RemoveProp Lib "user32" Alias _FuncName_RemoveProp (hWnd As HWND, pString As PCTSTR) As HANDLE 969 Declare Function TranslateMessage Lib "user32" (ByRef lpMsg As MSG) As Long 970 Declare Function ScreenToClient Lib "user32" (hWnd As HWND, ByRef lpPoint As POINTAPI) As BOOL 1126 Declare Function TranslateAccelerator Lib "user32" Alias _FuncName_TranslateAccelerator (hwnd As HWND, hAccTable As HACCEL, ByRef msg As MSG) As Long 1127 Declare Function TranslateMessage Lib "user32" (ByRef msg As MSG) As Long 1128 Declare Function ScreenToClient Lib "user32" (hWnd As HWND, ByRef Point As POINTAPI) As BOOL 971 1129 Declare Function ScrollDC Lib "user32" (hdc As HDC, dx As Long, dy As Long, ByRef rcScroll As RECT, ByRef rcClip As RECT, hrgnUpdate As HRGN, ByRef rcUpdate As RECT) As BOOL 972 1130 … … 980 1138 Declare Function SendNotifyMessage Lib "user32" Alias _FuncName_SendNotifyMessage (hWnd As HWND, wMsg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT 981 1139 Declare Function SetActiveWindow Lib "user32" (hWnd As HWND) As HWND 1140 Declare Function SetDlgItemInt Lib "user32" (hDlg As HWND, nIDDlgItem As Long, uValue As DWord, bSigned As BOOL) As BOOL 982 1141 Declare Function SetDlgItemText Lib "user32" Alias _FuncName_SetDlgItemText (hDlg As HWND, nIDDlgItem As Long, lpString As PCTSTR) As BOOL 983 1142 Declare Function SetCapture Lib "user32" (hWnd As HWND) As HWND … … 993 1152 994 1153 Declare Function SetClipboardData Lib "user32" (uFormat As DWord, hMem As HANDLE) As HANDLE 1154 Declare Function SetClipboardViewer Lib "user32" (ByVal hWndNewViewer As HWND) As HWND 995 1155 Declare Function SetCursor Lib "user32" (hCursor As HCURSOR) As HCURSOR 996 1156 Declare Function SetCursorPos Lib "user32" (x As Long, y As Long) As BOOL … … 1005 1165 Declare Function SetParent Lib "user32" (hWndChild As HWND, hWndNewParent As HWND) As HWND 1006 1166 Declare Function SetProp Lib "user32" Alias _FuncName_SetProp (hWnd As HWND, pString As PCTSTR, hData As HANDLE) As BOOL 1167 Declare Function SetRect Lib "User32" (ByRef rc As RECT, xLeft As Long, yTop As Long, xRight As Long, yBottom As Long) As Long 1007 1168 Declare Function SetScrollInfo Lib "user32" (hWnd As HWND, fnBar As Long, ByRef lpsi As SCROLLINFO, bRedraw As Long) As BOOL 1008 1169 Declare Function SetSysColors Lib "user32" (cElements As Long, lpaElements As *DWord, lpaRgbValues As *DWord) As BOOL … … 1012 1173 1013 1174 Declare Function SetWindowContextHelpId Lib "user32"(hwnd As HWND, dwContextHelpId As DWord) As BOOL 1014 1015 1175 #ifdef _WIN64 1016 1176 Declare Function SetWindowLong Lib "user32" Alias _FuncName_SetWindowLongPtr (hWnd As HWND, nIndex As Long, NewLong As LONG_PTR) As LONG_PTR … … 1045 1205 1046 1206 Declare Function SetWindowRgn Lib "user32" (hWnd As HWND, hRgn As HRGN, bRedraw As BOOL) As BOOL 1207 Declare Function SetWindowsHookEx Lib "user32" Alias _FuncName_SetWindowsHookEx (idHook As Long, lpfn As HOOKPROC, hMod As HINSTANCE, dwThreadId As DWord) As HHOOK 1047 1208 Declare Function SetWindowText Lib "user32" Alias _FuncName_SetWindowText (hWnd As HWND, pString As PCTSTR) As BOOL 1048 1209 Declare Function ShowCaret Lib "user32" (hWnd As HWND) As BOOL … … 1267 1428 Declare Function TrackPopupMenu Lib "user32" (hMenu As HMENU, uFlags As DWord, x As Long, y As Long, nReserved As Long, hWnd As HWND, ByRef prcRect As RECT) As BOOL 1268 1429 1430 declare function UnhookWindowsHookEx lib "user32" (ByVal hhk As HHOOK) As BOOL 1269 1431 Declare Function UnregisterClass Lib "user32" Alias _FuncName_UnregisterClass (pClassName As PCTSTR, hinst As HINSTANCE) As BOOL 1432 Declare Function UnregisterHotKey Lib "user32" (hwnd As HWND, id As Long) As BOOL 1270 1433 Declare Function UpdateWindow Lib "user32" (hWnd As HWND) As BOOL 1271 1434 Declare Function ValidateRect Lib "user32" (hWnd As HWND, ByRef lpRect As RECT) As BOOL
Note:
See TracChangeset
for help on using the changeset viewer.