Calling API functions

Please quote your code :slight_smile:

Looking at EnumWindowsProc callback function (Windows) | Microsoft Docs the type of the cfunction should be lpEnumFunc(EnumWindowsProc, Cint, (Cint, Int)) since HWND is defined as a int and LPARAM is either a __int32 or __int64.

What part doesn’t work for you? What kind of error are you getting? I am :penguin: only.

1 Like