..\PureBasic\Compilers\APIFunctionListing.txt contains a List of Windows API Functions.
Is this the actual list of Windows APi integrated in PB?
--------------------------------------------------------------------------------------
ActiveVB.de provides an API Viewer which can directly export the API Definition as PB Code
Here the example for CreateWindowExA created from ApiViewer!
OpenLibrary(0,"user32.dll")
CallFunction(0,"CreateWindowExA",dwExStyle.l, lpClassName.String, lpWindowName.String, dwStyle.l, x.l, y.l, nWidth.l, nHeight.l, hWndParent.l, hMenu.l, hInstance.l, lpParam.l)
You can download it from
https://activevb.de/rubriken/apiviewer/ ... ereng.html
PB integrated Windows API and API Viewer
Re: PB integrated Windows API and API Viewer
Most Window API functions are already declared. You do not need to write the API function ...A or ...W. These are automatically extended internally by PB to the correct ASCII or WideChar API function.
Code: Select all
; CallFunction(0,"CreateWindowExA",dwExStyle.l, lpClassName.String, lpWindowName.String, dwStyle.l, x.l, y.l, nWidth.l, nHeight.l, hWndParent.l, hMenu.l, hInstance.l, lpParam.l)
r1 = CreateWindowEx_(dwExStyle.l, lpClassName.s, lpWindowName.s, dwStyle.l, x.l, y.l, nWidth.l, nHeight.l, hWndParent.i, hMenu.l, hInstance.i, lpParam.i)
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive

