..\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 ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive