Ooops
November 30, 2020, 02:35:19 AM

Author Topic: [bb] user32.dll decls by Boiled Sweets [ 1+ years ago ]  (Read 857 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] user32.dll decls by Boiled Sweets [ 1+ years ago ]
« on: June 29, 2017, 12:28:38 AM »
Title : user32.dll decls
Author : Boiled Sweets
Posted : 1+ years ago

Description : Windows management functions for message handling, timers, menus, and communications.

Code :
Code: BlitzBasic
  1. .lib "user32.dll"
  2.  
  3. api_ActivateKeyboardLayout% (HKL%, flags%) : "ActivateKeyboardLayout"
  4. api_AdjustWindowRect% (lpRect*, dwStyle%, bMenu%) : "AdjustWindowRect"
  5. api_AdjustWindowRectEx% (lpRect*, dsStyle%, bMenu%, dwEsStyle%) : "AdjustWindowRectEx"
  6. api_AnyPopup% () : "AnyPopup"
  7. api_AppendMenu% (hMenu%, wFlags%, wIDNewItem%, lpNewItem*) : "AppendMenuA"
  8. api_ArrangeIconicWindows% (hwnd%) : "ArrangeIconicWindows"
  9. api_AttachThreadInput% (idAttach%, idAttachTo%, fAttach%) : "AttachThreadInput"
  10. api_BeginDeferWindowPos% (nNumWindows%) : "BeginDeferWindowPos"
  11. api_BeginPaint% (hwnd%, lpPaint*) : "BeginPaint"
  12. api_BringWindowToTop% (hwnd%) : "BringWindowToTop"
  13. api_BroadcastSystemMessage% (dw%, pdw%, un%, wParam%, lParam%) : "BroadcastSystemMessage"
  14. api_CallMsgFilter% (lpMsg*, ncode%) : "CallMsgFilterA"
  15. api_CallNextHookEx% (hHook%, ncode%, wParam%, lParam*) : "CallNextHookEx"
  16. api_CallWindowProc% (lpPrevWndFunc%, hWnd%, Msg%, wParam%, lParam%) : "CallWindowProcA"
  17. api_CascadeWindows% (hwndParent%, wHow%, lpRect*, cKids%, lpkids%) : "CascadeWindows"
  18. api_ChangeClipboardChain% (hwnd%, hWndNext%) : "ChangeClipboardChain"
  19. api_ChangeMenu% (hMenu%, cmd%, lpszNewItem$, cmdInsert%, flags%) : "ChangeMenuA"
  20. api_CharLower$ (lpsz$) : "CharLowerA"
  21. api_CharLowerBuff% (lpsz$, cchLength%) : "CharLowerBuffA"
  22. api_CharNext$ (lpsz$) : "CharNextA"
  23. api_CharPrev$ (lpszStart$, lpszCurrent$) : "CharPrevA"
  24. api_CharToOem% (lpszSrc$, lpszDst$) : "CharToOemA"
  25. api_CharToOemBuff% (lpszSrc$, lpszDst$, cchDstLength%) : "CharToOemBuffA"
  26. api_CharUpper$ (lpsz$) : "CharUpperA"
  27. api_CharUpperBuff% (lpsz$, cchLength%) : "CharUpperBuffA"
  28. api_CheckDlgButton% (hDlg%, nIDButton%, wCheck%) : "CheckDLGButtonA"
  29. api_CheckMenuItem% (hMenu%, wIDCheckItem%, wCheck%) : "CheckMenuItem"
  30. api_CheckMenuRadioItem% (hMenu%, un1%, un2%, un3%, un4%) : "CheckMenuRadioItem"
  31. api_CheckRadioButton% (hDlg%, nIDFirstButton%, nIDLastButton%, nIDCheckButton%) : "CheckRadioButtonA"
  32. api_ChildWindowFromPoint% (hWnd%, xPoint%, yPoint%) : "ChildWindowFromPoint"
  33. api_ChildWindowFromPointEx% (hWnd%, pt*, un%) : "ChildWindowFromPointEx"
  34. api_ClientToScreen% (hwnd%, lpPoint*) : "ClientToScreen"
  35. api_ClipCursor% (lpRect*) : "ClipCursor"
  36. api_CloseClipboard% () : "CloseClipboard"
  37. api_CloseDesktop% (hDesktop%) : "CloseDesktop"
  38. api_CloseWindow% (hwnd%) : "CloseWindow"
  39. api_CloseWindowStation% (hWinSta%) : "CloseWindowStation"
  40. api_CopyAcceleratorTable% (hAccelSrc%, lpAccelDst*, cAccelEntries%) : "CopyAcceleratorTableA"
  41. api_CopyCursor% (hcur%) : "CopyCursor"
  42. api_CopyIcon% (hIcon%) : "CopyIcon"
  43. api_CopyImage% (Handle%, un1%, n1%, n2%, un2%) : "CopyImage"
  44. api_CopyRect% (lpDestRect*, lpSourceRect*) : "CopyRect"
  45. api_CountClipboardFormats% () : "CountClipboardFormats"
  46. api_CreateAcceleratorTable% (lpaccl*, cEntries%) : "CreateAcceleratorTableA"
  47. api_CreateCaret% (hwnd%, hBitmap%, nWidth%, nHeight%) : "CreateCaret"
  48. api_CreateCursor% (hInstance%, nXhotspot%, nYhotspot%, nWidth%, nHeight%, lpANDbitPlane*, lpXORbitPlane*) : "CreateCursor"
  49. api_CreateDesktop% (lpszDesktop$, lpszDevice$, pDevmode*, dwFlags%, dwDesiredAccess%, lpsa*) : "CreateDesktopA"
  50. api_CreateDialogIndirectParam% (hInstance%, lpTemplate*, hWndParent%, lpDialogFunc%, dwInitParam%) : "CreateDialogIndirectParamA"
  51. api_CreateDialogParam% (hInstance%, lpName$, hWndParent%, lpDialogFunc%, lParamInit%) : "CreateDialogParamA"
  52. api_CreateIcon% (hInstance%, nWidth%, nHeight%, nPlanes%, nBitsPixel%, lpANDbits%, lpXORbits%) : "CreateIcon"
  53. api_CreateIconFromResource% (presbits%, dwResSize%, fIcon%, dwVer%) : "CreateIconFromResource"
  54. api_CreateIconIndirect% (piconinfo*) : "CreateIconIndirect"
  55. api_CreateMDIWindow% (lpClassName$, lpWindowName$, dwStyle%, x%, y%, nWidth%, nHeight%, hWndParent%, hInstance%, lParam%) : "CreateMDIWindowA"
  56. api_CreateMenu% () : "CreateMenu"
  57. api_CreatePopupMenu% () : "CreatePopupMenu"
  58. api_CreateWindowEx% (dwExStyle%, lpClassName$, lpWindowName$, dwStyle%, x%, y%, nWidth%, nHeight%, hWndParent%, hMenu%, hInstance%, lpParam*) : "CreateWindowExA"
  59. api_DdeAbandonTransaction% (idInst%, hConv%, idTransaction%) : "DdeAbandonTransaction"
  60. api_DdeAccessData% (hData%, pcbDataSize%) : "DdeAccessDataA"
  61. api_DdeAddData% (hData%, pSrc%, cb%, cbOff%) : "DdeAddDataA"
  62. api_DdeClientTransaction% (pData%, cbData%, hConv%, hszItem%, wFmt%, wType%, dwTimeout%, pdwResult%) : "DdeClientTransaction"
  63. api_DdeCmpStringHandles% (hsz1%, hsz2%) : "DdeCmpStringHandles"
  64. api_DdeConnect% (idInst%, hszService%, hszTopic%, pCC*) : "DdeConnect"
  65. api_DdeConnectList% (idInst%, hszService%, hszTopic%, hConvList%, pCC*) : "DdeConnectList"
  66. api_DdeCreateDataHandle% (idInst%, pSrc%, cb%, cbOff%, hszItem%, wFmt%, afCmd%) : "DdeCreateDataHandle"
  67. api_DdeCreateStringHandle% (idInst%, psz$, iCodePage%) : "DdeCreateStringHandleA"
  68. api_DdeDisconnect% (hConv%) : "DdeDisconnect"
  69. api_DdeDisconnectList% (hConvList%) : "DdeDisconnectList"
  70. api_DdeEnableCallback% (idInst%, hConv%, wCmd%) : "DdeEnableCallback"
  71. api_DdeFreeDataHandle% (hData%) : "DdeFreeDataHandle"
  72. api_DdeFreeStringHandle% (idInst%, hsz%) : "DdeFreeStringHandle"
  73. api_DdeGetData% (hData%, pDst%, cbMax%, cbOff%) : "DdeGetDataA"
  74. api_DdeGetLastError% (idInst%) : "DdeGetLastError"
  75. api_DdeImpersonateClient% (hConv%) : "DdeImpersonateClient"
  76. api_DdeInitialize% (pidInst%, pfnCallback%, afCmd%, ulRes%) : "DdeInitializeA"
  77. api_DdeKeepStringHandle% (idInst%, hsz%) : "DdeKeepStringHandle"
  78. api_DdeNameService% (idInst%, hsz1%, hsz2%, afCmd%) : "DdeNameService"
  79. api_DdePostAdvise% (idInst%, hszTopic%, hszItem%) : "DdePostAdvise"
  80. api_DdeQueryConvInfo% (hConv%, idTransaction%, pConvInfo*) : "DdeQueryConvInfo"
  81. api_DdeQueryNextServer% (hConvList%, hConvPrev%) : "DdeQueryNextServer"
  82. api_DdeQueryString% (idInst%, hsz%, psz$, cchMax%, iCodePage%) : "DdeQueryStringA"
  83. api_DdeReconnect% (hConv%) : "DdeReconnect"
  84. api_DdeSetQualityOfService% (hWndClient%, pqosNew*, pqosPrev*) : "DdeSetQualityOfService"
  85. api_DdeSetUserHandle% (hConv%, id%, hUser%) : "DdeSetUserHandle"
  86. api_DdeUnaccessData% (hData%) : "DdeUnaccessDataA"
  87. api_DdeUninitialize% (idInst%) : "DdeUninitialize"
  88. api_DefDlgProc% (hDlg%, wMsg%, wParam%, lParam%) : "DefDlgProcA"
  89. api_DeferWindowPos% (hWinPosInfo%, hwnd%, hWndInsertAfter%, x%, y%, cx%, cy%, wFlags%) : "DeferWindowPos"
  90. api_DefFrameProc% (hwnd%, hWndMDIClient%, wMsg%, wParam%, lParam%) : "DefFrameProcA"
  91. api_DefMDIChildProc% (hwnd%, wMsg%, wParam%, lParam%) : "DefMDIChildProcA"
  92. api_DefWindowProc% (hwnd%, wMsg%, wParam%, lParam%) : "DefWindowProcA"
  93. api_DeleteMenu% (hMenu%, nPosition%, wFlags%) : "DeleteMenu"
  94. api_DestroyAcceleratorTable% (haccel%) : "DestroyAcceleratorTable"
  95. api_DestroyCaret% () : "DestroyCaret"
  96. api_DestroyCursor% (hCursor%) : "DestroyCursor"
  97. api_DestroyIcon% (hIcon%) : "DestroyIcon"
  98. api_DestroyMenu% (hMenu%) : "DestroyMenu"
  99. api_DestroyWindow% (hwnd%) : "DestroyWindow"
  100. api_DialogBoxIndirectParam% (hInstance%, hDialogTemplate*, hWndParent%, lpDialogFunc%, dwInitParam%) : "DialogBoxIndirectParamA"
  101. api_DispatchMessage% (lpMsg*) : "DispatchMessageA"
  102. api_DlgDirList% (hDlg%, lpPathSpec$, nIDListBox%, nIDStaticPath%, wFileType%) : "DlgDirListA"
  103. api_DlgDirListComboBox% (hDlg%, lpPathSpec$, nIDComboBox%, nIDStaticPath%, wFileType%) : "DlgDirListComboBoxA"
  104. api_DlgDirSelectComboBoxEx% (hWndDlg%, lpszPath$, cbPath%, idComboBox%) : "DlgDirSelectComboBoxExA"
  105. api_DlgDirSelectEx% (hWndDlg%, lpszPath$, cbPath%, idListBox%) : "DlgDirSelectExA"
  106. api_DragDetect% (hWnd%, pt*) : "DragDetect"
  107. api_DragObject% (hWnd1%, hWnd2%, un%, dw%, hCursor%) : "DragObject"
  108. api_DrawAnimatedRects% (hwnd%, idAni%, lprcFrom*, lprcTo*) : "DrawAnimatedRects"
  109. api_DrawCaption% (hWnd%, hDC%, pcRect*, un%) : "DrawCaption"
  110. api_DrawEdge% (hdc%, qrc*, edge%, grfFlags%) : "DrawEdge"
  111. api_DrawFocusRect% (hdc%, lpRect*) : "DrawFocusRect"
  112. api_DrawFrameControl% (hDC%, lpRect*, un1%, un2%) : "DrawFrameControl"
  113. api_DrawIcon% (hdc%, x%, y%, hIcon%) : "DrawIcon"
  114. api_DrawIconEx% (hdc%, xLeft%, yTop%, hIcon%, cxWidth%, cyWidth%, istepIfAniCur%, hbrFlickerFreeDraw%, diFlags%) : "DrawIconEx"
  115. api_DrawMenuBar% (hwnd%) : "DrawMenuBar"
  116. api_DrawState% (hDC%, hBrush%, lpDrawStateProc%, lParam%, wParam%, n1%, n2%, n3%, n4%, un%) : "DrawStateA"
  117. api_DrawText% (hdc%, lpStr$, nCount%, lpRect*, wFormat%) : "DrawTextA"
  118. api_DrawTextEx% (hDC%, lpsz$, n%, lpRect*, un%, lpDrawTextParams*) : "DrawTextExA"
  119. api_EmptyClipboard% () : "EmptyClipboard"
  120. api_EnableMenuItem% (hMenu%, wIDEnableItem%, wEnable%) : "EnableMenuItem"
  121. api_EnableScrollBar% (hwnd%, wSBflags%, wArrows%) : "EnableScrollBar"
  122. api_EnableWindow% (hwnd%, fEnable%) : "EnableWindow"
  123. api_EndDeferWindowPos% (hWinPosInfo%) : "EndDeferWindowPos"
  124. api_EndDialog% (hDlg%, nResult%) : "EndDialog"
  125. api_EndPaint% (hwnd%, lpPaint*) : "EndPaint"
  126. api_EnumChildWindows% (hWndParent%, lpEnumFunc%, lParam%) : "EnumChildWindows"
  127. api_EnumClipboardFormats% (wFormat%) : "EnumClipboardFormats"
  128. api_EnumDesktops% (hwinsta%, lpEnumFunc%, lParam%) : "EnumDesktopsA"
  129. api_EnumDesktopWindows% (hDesktop%, lpfn%, lParam%) : "EnumDesktopWindows"
  130. api_EnumProps% (hWnd%, lpEnumFunc%) : "EnumPropsA"
  131. api_EnumPropsEx% (hWnd%, lpEnumFunc%, lParam%) : "EnumPropsExA"
  132. api_EnumThreadWindows% (dwThreadId%, lpfn%, lParam%) : "EnumThreadWindows"
  133. api_EnumWindowStations% (lpEnumFunc%, lParam%) : "EnumWindowStationsA"
  134. api_EqualRect% (lpRect1*, lpRect2*) : "EqualRect"
  135. api_ExcludeUpdateRgn% (hdc%, hwnd%) : "ExcludeUpdateRgn"
  136. api_ExitWindows% (dwReserved%, uReturnCode%) : "ExitWindows"
  137. api_ExitWindowsEx% (uFlags%, dwReserved%) : "ExitWindowsEx"
  138. api_FillRect% (hdc%, lpRect*, hBrush%) : "FillRect"
  139. api_FindWindow% (lpClassName$, lpWindowName$) : "FindWindowA"
  140. api_FindWindowEx% (hWnd1%, hWnd2%, lpsz1$, lpsz2$) : "FindWindowExA"
  141. api_FlashWindow% (hwnd%, bInvert%) : "FlashWindow"
  142. api_FrameRect% (hdc%, lpRect*, hBrush%) : "FrameRect"
  143. api_FreeDDElParam% (msg%, lParam%) : "FreeDDElParam"
  144. api_GetActiveWindow% () : "GetActiveWindow"
  145. api_GetAsyncKeyState% (vKey%) : "GetAsyncKeyState"
  146. api_GetCapture% () : "GetCapture"
  147. api_GetCaretBlinkTime% () : "GetCaretBlinkTime"
  148. api_GetCaretPos% (lpPoint*) : "GetCaretPos"
  149. api_GetClassInfo% (hInstance%, lpClassName$, lpWndClass*) : "GetClassInfoA"
  150. api_GetClassLong% (hwnd%, nIndex%) : "GetClassLongA"
  151. api_GetClassName% (hwnd%, lpClassName$, nMaxCount%) : "GetClassNameA"
  152. api_GetClassWord% (hwnd%, nIndex%) : "GetClassWord"
  153. api_GetClientRect% (hwnd%, lpRect*) : "GetClientRect"
  154. api_GetClipboardData% (wFormat%) : "GetClipboardData"
  155. api_GetClipboardFormatName% (wFormat%, lpString$, nMaxCount%) : "GetClipboardFormatNameA"
  156. api_GetClipboardOwner% () : "GetClipboardOwner"
  157. api_GetClipboardViewer% () : "GetClipboardViewer"
  158. api_GetClipCursor% (lprc*) : "GetClipCursor"
  159. api_GetCursor% () : "GetCursor"
  160. api_GetCursorPos% (lpPoint*) : "GetCursorPos"
  161. api_GetDC% (hwnd%) : "GetDC"
  162. api_GetDCEx% (hwnd%, hrgnclip%, fdwOptions%) : "GetDCEx"
  163. api_GetDesktopWindow% () : "GetDesktopWindow"
  164. api_GetDialogBaseUnits% () : "GetDialogBaseUnits"
  165. api_GetDlgCtrlID% (hwnd%) : "GetDlgCtrlID"
  166. api_GetDlgItem% (hDlg%, nIDDlgItem%) : "GetDlgItem"
  167. api_GetDlgItemInt% (hDlg%, nIDDlgItem%, lpTranslated%, bSigned%) : "GetDlgItemInt"
  168. api_GetDlgItemText% (hDlg%, nIDDlgItem%, lpString$, nMaxCount%) : "GetDlgItemTextA"
  169. api_GetDoubleClickTime% () : "GetDoubleClickTime"
  170. api_GetFocus% () : "GetFocus"
  171. api_GetForegroundWindow% () : "GetForegroundWindow"
  172. api_GetIconInfo% (hIcon%, piconinfo*) : "GetIconInfo"
  173. api_GetInputState% () : "GetInputState"
  174. api_GetKBCodePage% () : "GetKBCodePage"
  175. api_GetKeyboardLayout% (dwLayout%) : "GetKeyboardLayout"
  176. api_GetKeyboardLayoutList% (nBuff%, lpList%) : "GetKeyboardLayoutList"
  177. api_GetKeyboardLayoutName% (pwszKLID$) : "GetKeyboardLayoutNameA"
  178. api_GetKeyboardState% (pbKeyState%) : "GetKeyboardState"
  179. api_GetKeyboardType% (nTypeFlag%) : "GetKeyboardType"
  180. api_GetKeyNameText% (lParam%, lpBuffer$, nSize%) : "GetKeyNameTextA"
  181. api_GetKeyState% (nVirtKey%) : "GetKeyState"
  182. api_GetLastActivePopup% (hwndOwnder%) : "GetLastActivePopup"
  183. api_GetMenu% (hwnd%) : "GetMenu"
  184. api_GetMenuCheckMarkDimensions% () : "GetMenuCheckMarkDimensions"
  185. api_GetMenuContextHelpId% (hMenu%) : "GetMenuContextHelpId"
  186. api_GetMenuDefaultItem% (hMenu%, fByPos%, gmdiFlags%) : "GetMenuDefaultItem"
  187. api_GetMenuItemCount% (hMenu%) : "GetMenuItemCount"
  188. api_GetMenuItemID% (hMenu%, nPos%) : "GetMenuItemID"
  189. api_GetMenuItemInfo% (hMenu%, un%, b%, lpMenuItemInfo*) : "GetMenuItemInfoA"
  190. api_GetMenuItemRect% (hWnd%, hMenu%, uItem%, lprcItem*) : "GetMenuItemRect"
  191. api_GetMenuState% (hMenu%, wID%, wFlags%) : "GetMenuState"
  192. api_GetMenuString% (hMenu%, wIDItem%, lpString$, nMaxCount%, wFlag%) : "GetMenuStringA"
  193. api_GetMessage% (lpMsg*, hwnd%, wMsgFilterMin%, wMsgFilterMax%) : "GetMessageA"
  194. api_GetMessageExtraInfo% () : "GetMessageExtraInfo"
  195. api_GetMessagePos% () : "GetMessagePos"
  196. api_GetMessageTime% () : "GetMessageTime"
  197. api_GetNextDlgGroupItem% (hDlg%, hCtl%, bPrevious%) : "GetNextDlgGroupItem"
  198. api_GetNextDlgTabItem% (hDlg%, hCtl%, bPrevious%) : "GetNextDlgTabItem"
  199. api_GetNextWindow% (hwnd%, wFlag%) : "GetWindow"
  200. api_GetOpenClipboardWindow% () : "GetOpenClipboardWindow"
  201. api_GetParent% (hwnd%) : "GetParent"
  202. api_GetPriorityClipboardFormat% (lpPriorityList%, nCount%) : "GetPriorityClipboardFormat"
  203. api_GetProcessWindowStation% () : "GetProcessWindowStation"
  204. api_GetProp% (hwnd%, lpString$) : "GetPropA"
  205. api_GetQueueStatus% (fuFlags%) : "GetQueueStatus"
  206. api_GetScrollInfo% (hWnd%, n%, lpScrollInfo*) : "GetScrollInfo"
  207. api_GetScrollPos% (hwnd%, nBar%) : "GetScrollPos"
  208. api_GetScrollRange% (hwnd%, nBar%, lpMinPos%, lpMaxPos%) : "GetScrollRange"
  209. api_GetSubMenu% (hMenu%, nPos%) : "GetSubMenu"
  210. api_GetSysColor% (nIndex%) : "GetSysColor"
  211. api_GetSysColorBrush% (nIndex%) : "GetSysColorBrush"
  212. api_GetSystemMenu% (hwnd%, bRevert%) : "GetSystemMenu"
  213. api_GetSystemMetrics% (nIndex%) : "GetSystemMetrics"
  214. api_GetTabbedTextExtent% (hdc%, lpString$, nCount%, nTabPositions%, lpnTabStopPositions%) : "GetTabbedTextExtentA"
  215. api_GetThreadDesktop% (dwThread%) : "GetThreadDesktop"
  216. api_GetTopWindow% (hwnd%) : "GetTopWindow"
  217. api_GetUpdateRect% (hwnd%, lpRect*, bErase%) : "GetUpdateRect"
  218. api_GetUpdateRgn% (hwnd%, hRgn%, fErase%) : "GetUpdateRgn"
  219. api_GetUserObjectInformation% (hObj%, nIndex%, pvInfo*, nLength%, lpnLengthNeeded%) : "GetUserObjectInformationA"
  220. api_GetUserObjectSecurity% (hObj%, pSIRequested%, pSd*, nLength%, lpnLengthNeeded%) : "GetUserObjectSecurity"
  221. api_GetWindow% (hwnd%, wCmd%) : "GetWindow"
  222. api_GetWindowContextHelpId% (hWnd%) : "GetWindowContextHelpId"
  223. api_GetWindowDC% (hwnd%) : "GetWindowDC"
  224. api_GetWindowLong% (hwnd%, nIndex%) : "GetWindowLongA"
  225. api_GetWindowPlacement% (hwnd%, lpwndpl*) : "GetWindowPlacement"
  226. api_GetWindowRect% (hwnd%, lpRect*) : "GetWindowRect"
  227. api_GetWindowRgn% (hWnd%, hRgn%) : "GetWindowRgn"
  228. api_GetWindowText% (hwnd%, lpString$, cch%) : "GetWindowTextA"
  229. api_GetWindowTextLength% (hwnd%) : "GetWindowTextLengthA"
  230. api_GetWindowThreadProcessId% (hwnd%, lpdwProcessId%) : "GetWindowThreadProcessId"
  231. api_GetWindowWord% (hwnd%, nIndex%) : "GetWindowWord"
  232. api_GrayString% (hDC%, hBrush%, lpOutputFunc%, lpData%, nCount%, X%, Y%, nWidth%, nHeight%) : "GrayStringA"
  233. api_HideCaret% (hwnd%) : "HideCaret"
  234. api_HiliteMenuItem% (hwnd%, hMenu%, wIDHiliteItem%, wHilite%) : "HiliteMenuItem"
  235. api_ImpersonateDdeClientWindow% (hWndClient%, hWndServer%) : "ImpersonateDdeClientWindow"
  236. api_InflateRect% (lpRect*, x%, y%) : "InflateRect"
  237. api_InSendMessage% () : "InSendMessage"
  238. api_InsertMenu% (hMenu%, nPosition%, wFlags%, wIDNewItem%, lpNewItem*) : "InsertMenuA"
  239. api_InsertMenuItem% (hMenu%, un%, bool%, lpcMenuItemInfo*) : "InsertMenuItemA"
  240. api_IntersectRect% (lpDestRect*, lpSrc1Rect*, lpSrc2Rect*) : "IntersectRect"
  241. api_InvalidateRect% (hwnd%, lpRect*, bErase%) : "InvalidateRect"
  242. api_InvalidateRgn% (hwnd%, hRgn%, bErase%) : "InvalidateRgn"
  243. api_InvertRect% (hdc%, lpRect*) : "InvertRect"
  244. api_IsCharAlpha% (cChar%) : "IsCharAlphaA"
  245. api_IsCharAlphaNumeric% (cChar%) : "IsCharAlphaNumericA"
  246. api_IsCharLower% (cChar%) : "IsCharLowerA"
  247. api_IsCharUpper% (cChar%) : "IsCharUpperA"
  248. api_IsChild% (hWndParent%, hwnd%) : "IsChild"
  249. api_IsClipboardFormatAvailable% (wFormat%) : "IsClipboardFormatAvailable"
  250. api_IsDialogMessage% (hDlg%, lpMsg*) : "IsDialogMessageA"
  251. api_IsDlgButtonChecked% (hDlg%, nIDButton%) : "IsDlgButtonChecked"
  252. api_IsIconic% (hwnd%) : "IsIconic"
  253. api_IsMenu% (hMenu%) : "IsMenu"
  254. api_IsRectEmpty% (lpRect*) : "IsRectEmpty"
  255. api_IsWindow% (hwnd%) : "IsWindow"
  256. api_IsWindowEnabled% (hwnd%) : "IsWindowEnabled"
  257. api_IsWindowUnicode% (hwnd%) : "IsWindowUnicode"
  258. api_IsWindowVisible% (hwnd%) : "IsWindowVisible"
  259. api_IsZoomed% (hwnd%) : "IsZoomed"
  260. api_keybd_event (bVk%, bScan%, dwFlags%, dwExtraInfo%) : "keybd_event"
  261. api_KillTimer% (hwnd%, nIDEvent%) : "KillTimer"
  262. api_LoadAccelerators% (hInstance%, lpTableName$) : "LoadAcceleratorsA"
  263. api_LoadBitmap% (hInstance%, lpBitmapName$) : "LoadBitmapA"
  264. api_LoadCursor% (hInstance%, lpCursorName$) : "LoadCursorA"
  265. api_LoadCursorFromFile% (lpFileName$) : "LoadCursorFromFileA"
  266. api_LoadIcon% (hInstance%, lpIconName$) : "LoadIconA"
  267. api_LoadImage% (hInst%, lpsz$, un1%, n1%, n2%, un2%) : "LoadImageA"
  268. api_LoadKeyboardLayout% (pwszKLID$, flags%) : "LoadKeyboardLayoutA"
  269. api_LoadMenu% (hInstance%, lpString$) : "LoadMenuA"
  270. api_LoadMenuIndirect% (lpMenuTemplate%) : "LoadMenuIndirectA"
  271. api_LoadString% (hInstance%, wID%, lpBuffer$, nBufferMax%) : "LoadStringA"
  272. api_LockWindowUpdate% (hwndLock%) : "LockWindowUpdate"
  273. api_LookupIconIdFromDirectory% (presbits%, fIcon%) : "LookupIconIdFromDirectory"
  274. api_LookupIconIdFromDirectoryEx% (presbits%, fIcon%, cxDesired%, cyDesired%, Flags%) : "LookupIconIdFromDirectoryEx"
  275. api_MapDialogRect% (hDlg%, lpRect*) : "MapDialogRect"
  276. api_MapVirtualKey% (wCode%, wMapType%) : "MapVirtualKeyA"
  277. api_MapVirtualKeyEx% (uCode%, uMapType%, dwhkl%) : "MapVirtualKeyExA"
  278. api_MapWindowPoints% (hwndFrom%, hwndTo%, lppt*, cPoints%) : "MapWindowPoints"
  279. api_MenuItemFromPoint% (hWnd%, hMenu%, ptScreen*) : "MenuItemFromPoint"
  280. api_MessageBeep% (wType%) : "MessageBeep"
  281. api_MessageBox% (hwnd%, lpText$, lpCaption$, wType%) : "MessageBoxA"
  282. api_MessageBoxEx% (hwnd%, lpText$, lpCaption$, uType%, wLanguageId%) : "MessageBoxExA"
  283. api_MessageBoxIndirect% (lpMsgBoxParams*) : "MessageBoxIndirectA"
  284. api_ModifyMenu% (hMenu%, nPosition%, wFlags%, wIDNewItem%, lpString*) : "ModifyMenuA"
  285. api_mouse_event (dwFlags%, dx%, dy%, cButtons%, dwExtraInfo%) : "mouse_event"
  286. api_MoveWindow% (hwnd%, x%, y%, nWidth%, nHeight%, bRepaint%) : "MoveWindow"
  287. api_MsgWaitForMultipleObjects% (nCount%, pHandles%, fWaitAll%, dwMilliseconds%, dwWakeMask%) : "MsgWaitForMultipleObjects"
  288. api_OemKeyScan% (wOemChar%) : "OemKeyScan"
  289. api_OemToChar% (lpszSrc$, lpszDst$) : "OemToCharA"
  290. api_OemToCharBuff% (lpszSrc$, lpszDst$, cchDstLength%) : "OemToCharBuffA"
  291. api_OffsetRect% (lpRect*, x%, y%) : "OffsetRect"
  292. api_OpenClipboard% (hwnd%) : "OpenClipboard"
  293. api_OpenDesktop% (lpszDesktop$, dwFlags%, fInherit%, dwDesiredAccess%) : "OpenDesktopA"
  294. api_OpenIcon% (hwnd%) : "OpenIcon"
  295. api_OpenInputDesktop% (dwFlags%, fInherit%, dwDesiredAccess%) : "OpenInputDesktop"
  296. api_OpenWindowStation% (lpszWinSta$, fInherit%, dwDesiredAccess%) : "OpenWindowStationA"
  297. api_PackDDElParam% (msg%, uiLo%, uiHi%) : "PackDDElParam"
  298. api_PaintDesktop% (hdc%) : "PaintDesktop"
  299. api_PeekMessage% (lpMsg*, hwnd%, wMsgFilterMin%, wMsgFilterMax%, wRemoveMsg%) : "PeekMessageA"
  300. api_PostMessage% (hwnd%, wMsg%, wParam%, lParam%) : "PostMessageA"
  301. api_PostQuitMessage (nExitCode%) : "PostQuitMessage"
  302. api_PostThreadMessage% (idThread%, msg%, wParam%, lParam%) : "PostThreadMessageA"
  303. api_PtInRect% (lpRect*, pt*) : "PtInRect"
  304. api_RedrawWindow% (hwnd%, lprcUpdate*, hrgnUpdate%, fuRedraw%) : "RedrawWindow"
  305. api_RegisterClass% (Class*) : "RegisterClass"
  306. api_RegisterClassEx% (pcWndClassEx*) : "RegisterClassExA"
  307. api_RegisterClipboardFormat% (lpString$) : "RegisterClipboardFormatA"
  308. api_RegisterHotKey% (hwnd%, id%, fsModifiers%, vk%) : "RegisterHotKey"
  309. api_RegisterWindowMessage% (lpString$) : "RegisterWindowMessageA"
  310. api_ReleaseCapture% () : "ReleaseCapture"
  311. api_ReleaseDC% (hwnd%, hdc%) : "ReleaseDC"
  312. api_RemoveMenu% (hMenu%, nPosition%, wFlags%) : "RemoveMenu"
  313. api_RemoveProp% (hwnd%, lpString$) : "RemovePropA"
  314. api_ReplyMessage% (lReply%) : "ReplyMessage"
  315. api_ReuseDDElParam% (lParam%, msgIn%, msgOut%, uiLo%, uiHi%) : "ReuseDDElParam"
  316. api_ScreenToClient% (hwnd%, lpPoint*) : "ScreenToClient"
  317. api_ScrollDC% (hdc%, dx%, dy%, lprcScroll*, lprcClip*, hrgnUpdate%, lprcUpdate*) : "ScrollDC"
  318. api_ScrollWindow% (hWnd%, XAmount%, YAmount%, lpRect*, lpClipRect*) : "ScrollWindow"
  319. api_ScrollWindowEx% (hwnd%, dx%, dy%, lprcScroll*, lprcClip*, hrgnUpdate%, lprcUpdate*, fuScroll%) : "ScrollWindowEx"
  320. api_SendDlgItemMessage% (hDlg%, nIDDlgItem%, wMsg%, wParam%, lParam%) : "SendDlgItemMessageA"
  321. api_SendMessage% (hwnd%, wMsg%, wParam%, lParam*) : "SendMessageA"
  322. api_SendMessageCallback% (hwnd%, msg%, wParam%, lParam%, lpResultCallBack%, dwData%) : "SendMessageCallbackA"
  323. api_SendMessageTimeout% (hwnd%, msg%, wParam%, lParam%, fuFlags%, uTimeout%, lpdwResult%) : "SendMessageTimeoutA"
  324. api_SendNotifyMessage% (hwnd%, msg%, wParam%, lParam%) : "SendNotifyMessageA"
  325. api_SetActiveWindow% (hwnd%) : "SetActiveWindow"
  326. api_SetCapture% (hwnd%) : "SetCapture"
  327. api_SetCaretBlinkTime% (wMSeconds%) : "SetCaretBlinkTime"
  328. api_SetCaretPos% (x%, y%) : "SetCaretPos"
  329. api_SetClassLong% (hwnd%, nIndex%, dwNewLong%) : "SetClassLongA"
  330. api_SetClassWord% (hwnd%, nIndex%, wNewWord%) : "SetClassWord"
  331. api_SetClipboardData% (wFormat%, hMem%) : "SetClipboardDataA"
  332. api_SetClipboardViewer% (hwnd%) : "SetClipboardViewer"
  333. api_SetCursor% (hCursor%) : "SetCursor"
  334. api_SetCursorPos% (x%, y%) : "SetCursorPos"
  335. api_SetDebugErrorLevel (dwLevel%) : "SetDebugErrorLevel"
  336. api_SetDlgItemInt% (hDlg%, nIDDlgItem%, wValue%, bSigned%) : "SetDlgItemInt"
  337. api_SetDlgItemText% (hDlg%, nIDDlgItem%, lpString$) : "SetDlgItemTextA"
  338. api_SetDoubleClickTime% (wCount%) : "SetDoubleClickTime"
  339. api_SetFocus% (hwnd%) : "SetFocus"
  340. api_SetForegroundWindow% (hwnd%) : "SetForegroundWindow"
  341. api_SetKeyboardState% (lppbKeyState%) : "SetKeyboardState"
  342. api_SetLastErrorEx (dwErrCode%, dwType%) : "SetLastErrorEx"
  343. api_SetMenu% (hwnd%, hMenu%) : "SetMenu"
  344. api_SetMenuContextHelpId% (hMenu%, dw%) : "SetMenuContextHelpId"
  345. api_SetMenuDefaultItem% (hMenu%, uItem%, fByPos%) : "SetMenuDefaultItem"
  346. api_SetMenuItemBitmaps% (hMenu%, nPosition%, wFlags%, hBitmapUnchecked%, hBitmapChecked%) : "SetMenuItemBitmaps"
  347. api_SetMenuItemInfo% (hMenu%, un%, bool%, lpcMenuItemInfo*) : "SetMenuItemInfoA"
  348. api_SetMessageExtraInfo% (lParam%) : "SetMessageExtraInfo"
  349. api_SetMessageQueue% (cMessagesMax%) : "SetMessageQueue"
  350. api_SetParent% (hWndChild%, hWndNewParent%) : "SetParent"
  351. api_SetProcessWindowStation% (hWinSta%) : "SetProcessWindowStation"
  352. api_SetProp% (hwnd%, lpString$, hData%) : "SetPropA"
  353. api_SetRect% (lpRect*, X1%, Y1%, X2%, Y2%) : "SetRect"
  354. api_SetRectEmpty% (lpRect*) : "SetRectEmpty"
  355. api_SetScrollInfo% (hWnd%, n%, lpcScrollInfo*, bool%) : "SetScrollInfo"
  356. api_SetScrollPos% (hwnd%, nBar%, nPos%, bRedraw%) : "SetScrollPos"
  357. api_SetScrollRange% (hwnd%, nBar%, nMinPos%, nMaxPos%, bRedraw%) : "SetScrollRange"
  358. api_SetSysColors% (nChanges%, lpSysColor%, lpColorValues%) : "SetSysColors"
  359. api_SetSystemCursor% (hcur%, id%) : "SetSystemCursor"
  360. api_SetThreadDesktop% (hDesktop%) : "SetThreadDesktop"
  361. api_SetTimer% (hWnd%, nIDEvent%, uElapse%, lpTimerFunc%) : "SetTimer"
  362. api_SetUserObjectInformation% (hObj%, nIndex%, pvInfo*, nLength%) : "SetUserObjectInformationA"
  363. api_SetUserObjectSecurity% (hObj%, pSIRequested%, pSd*) : "SetUserObjectSecurity"
  364. api_SetWindowContextHelpId% (hWnd%, dw%) : "SetWindowContextHelpId"
  365. api_SetWindowLong% (hwnd%, nIndex%, dwNewLong%) : "SetWindowLongA"
  366. api_SetWindowPlacement% (hwnd%, lpwndpl*) : "SetWindowPlacement"
  367. api_SetWindowPos% (hwnd%, hWndInsertAfter%, x%, y%, cx%, cy%, wFlags%) : "SetWindowPos"
  368. api_SetWindowRgn% (hWnd%, hRgn%, bRedraw%) : "SetWindowRgn"
  369. api_SetWindowsHook% (nFilterType%, pfnFilterProc%) : "SetWindowsHookA"
  370. api_SetWindowsHookEx% (idHook%, lpfn%, hmod%, dwThreadId%) : "SetWindowsHookExA"
  371. api_SetWindowText% (hwnd%, lpString$) : "SetWindowTextA"
  372. api_SetWindowWord% (hwnd%, nIndex%, wNewWord%) : "SetWindowWord"
  373. api_ShowCaret% (hwnd%) : "ShowCaret"
  374. api_ShowCursor% (bShow%) : "ShowCursor"
  375. api_ShowOwnedPopups% (hwnd%, fShow%) : "ShowOwnedPopups"
  376. api_ShowScrollBar% (hwnd%, wBar%, bShow%) : "ShowScrollBar"
  377. api_ShowWindow% (hwnd%, nCmdShow%) : "ShowWindow"
  378. api_ShowWindowAsync% (hWnd%, nCmdShow%) : "ShowWindowAsync"
  379. api_SubtractRect% (lprcDst*, lprcSrc1*, lprcSrc2*) : "SubtractRect"
  380. api_SwapMouseButton% (bSwap%) : "SwapMouseButton"
  381. api_SwitchDesktop% (hDesktop%) : "SwitchDesktop"
  382. api_SystemParametersInfo% (uAction%, uParam%, lpvParam$, fuWinIni%) : "SystemParametersInfoA"
  383. api_TabbedTextOut% (hdc%, x%, y%, lpString$, nCount%, nTabPositions%, lpnTabStopPositions%, nTabOrigin%) : "TabbedTextOutA"
  384. api_TileWindows% (hwndParent%, wHow%, lpRect*, cKids%, lpKids%) : "TileWindows"
  385. api_ToAscii% (uVirtKey%, uScanCode%, lpbKeyState%, lpwTransKey%, fuState%) : "ToAscii"
  386. api_ToAsciiEx% (uVirtKey%, uScanCode%, lpKeyState%, lpChar%, uFlags%, dwhkl%) : "ToAsciiEx"
  387. api_ToUnicode% (wVirtKey%, wScanCode%, lpKeyState%, pwszBuff$, cchBuff%, wFlags%) : "ToUnicode"
  388. api_TrackPopupMenu% (hMenu%, wFlags%, x%, y%, nReserved%, hwnd%, lprc*) : "TrackPopupMenu"
  389. api_TrackPopupMenuEx% (hMenu%, un%, n1%, n2%, hWnd%, lpTPMParams*) : "TrackPopupMenuEx"
  390. api_TranslateAccelerator% (hwnd%, hAccTable%, lpMsg*) : "TranslateAcceleratorA"
  391. api_TranslateMDISysAccel% (hWndClient%, lpMsg*) : "TranslateMDISysAccel"
  392. api_TranslateMessage% (lpMsg*) : "TranslateMessage"
  393. api_UnhookWindowsHook% (nCode%, pfnFilterProc%) : "UnhookWindowsHook"
  394. api_UnhookWindowsHookEx% (hHook%) : "UnhookWindowsHookEx"
  395. api_UnionRect% (lpDestRect*, lpSrc1Rect*, lpSrc2Rect*) : "UnionRect"
  396. api_UnloadKeyboardLayout% (HKL%) : "UnloadKeyboardLayout"
  397. api_UnpackDDElParam% (msg%, lParam%, puiLo%, puiHi%) : "UnpackDDElParam"
  398. api_UnregisterClass% (lpClassName$, hInstance%) : "UnregisterClassA"
  399. api_UnregisterHotKey% (hwnd%, id%) : "UnregisterHotKey"
  400. api_UpdateWindow% (hwnd%) : "UpdateWindow"
  401. api_ValidateRect% (hwnd%, lpRect*) : "ValidateRect"
  402. api_ValidateRgn% (hwnd%, hRgn%) : "ValidateRgn"
  403. api_VkKeyScan% (cChar%) : "VkKeyScanA"
  404. api_VkKeyScanEx% (ch%, dwhkl%) : "VkKeyScanExA"
  405. api_WaitForInputIdle% (hProcess%, dwMilliseconds%) : "WaitForInputIdle"
  406. api_WaitMessage% () : "WaitMessage"
  407. api_WindowFromDC% (hdc%) : "WindowFromDC"
  408. api_WindowFromPoint% (xPoint%, yPoint%) : "WindowFromPoint"
  409. api_WinHelp% (hwnd%, lpHelpFile$, wCommand%, dwData%) : "WinHelpA"


Comments :


aab(Posted 1+ years ago)

 My gosh. a program in its own.i love the userlib system!


N(Posted 1+ years ago)

 Thanks, Boiled.  This should prove handy.<div class="quote"> a program in its own. </div>Yeah.  That's kindof what Windows is ;)


HNPhan(Posted 1+ years ago)

 nice man, very extensive


Senzak(Posted 1+ years ago)

 I dont know how to get it to work


Boiled Sweets(Posted 1+ years ago)

 Drop it in your blitz3duserlibs directory.  Then call the routines in your code - SIMPLE!


Senzak(Posted 1+ years ago)

 does it work with b+?


Snarkbait(Posted 1+ years ago)

 kevpar12: Yes, quite well. Even easier than b3d because you can use the QueryObject() command to get the hWND or hDC of an object (window, canvas etc)


Senzak(Posted 1+ years ago)

 is there any way to figure out what each command does?


ratking(Posted 1+ years ago)

 Yes, ask MSDN.


Senzak(Posted 1+ years ago)

 what??


ratking(Posted 1+ years ago)

 <a href="http://msdn.microsoft.com/" target="_blank">http://msdn.microsoft.com/[/url]


John Blackledge(Posted 1+ years ago)

 Do you know of a way to get the hdc from the hWnd?


ratking(Posted 1+ years ago)

 api_GetWindowDC% (hwnd%)api_GetDC% (hwnd%)One of those should do it ...


John Blackledge(Posted 1+ years ago)

 NIce, thanks.


Senzak(Posted 1+ years ago)

 what are hdc and hWnd???


Picklesworth(Posted 1+ years ago)

 hWnd is a window handle.


John Blackledge(Posted 1+ years ago)

 hdc used to be originally 'Hardware Device Context' but I don't think MS call it that now ('Handle to Device Context'?).Basically the difference between this and the hWnd is that in strict Windows programming you would need the hdc to draw low-level to the window.This is not a problem in Blitz of course, but it might still be handy to be able to get the hdc if you start using other Windows calls via the userlibs.


Airilsm(Posted 1+ years ago)

 Very usefull, thanks


markcw(Posted 1+ years ago)

 a couple of corrections to these decls.
Code: [Select]
api_GetClipboardData% (wFormat%) : "GetClipboardData"
api_SetClipboardData% (wFormat%, hMem%) : "SetClipboardData"



Boiled Sweets(Posted 1+ years ago)

 @Markcw - thanks updated original post.Also changed...
Code: [Select]
api_SystemParametersInfo% (uAction%, uParam%, lpvParam*, fuWinIni%) : "SystemParametersInfoA"
to
Code: [Select]
api_SystemParametersInfo% (uAction%, uParam%, lpvParam$, fuWinIni%) : "SystemParametersInfoA"



boomboom(Posted 1+ years ago)

 had a problem with this: <a href="../Community/postsd857.html?topic=64397" target="_blank">http://www.blitzbasic.com/Community/posts.php?topic=64397[/url]This is as aboveapi_GetWindowText% (hwnd%, lpString$, cch%) : "GetWindowTextA"and I changed it toapi_GetWindowText% (hwnd%, lpString*, cch%) : "GetWindowTextA"Which fixed it. Is this a mistake in the user32 decls?


_33(Posted 1+ years ago)

 There are probably more of those types of errors in there.


Kryzon(Posted 1+ years ago)

 This is great. The MessageBox and MessageBeep are very useful for Blitz applications.


GIB3D(Posted 1+ years ago)

 Hey, I copied this into WordPad, saved it as a .dll into the userlibs folders...went into IDEal(IDE for blitz3d) and put in
Code: [Select]
api_MessageBeep(1)
but it said "api_messagebeep does not exist" when I ran itand I did restart IDEal


Ked(Posted 1+ years ago)

 Copy and past into NotePad and save as a .decls in the userlibs folder.


Compt-Man(Posted 1+ years ago)

 Ok explain those without a PHD!


Compt-Man(Posted 1+ years ago)

 Make a New Operating System with those commands why don't yah!


Compt-Man(Posted 1+ years ago)

 MSDN is as easy to read as the Future except for fortune tellers


plash(Posted 1+ years ago)

 ... [/i]

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal