EnumWindows function user32
Enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function. EnumWindows continues until the last top-level window is enumerated or the callback function returns FALSE.
BOOL EnumWindows(
WNDENUMPROC lpEnumFunc,
LPARAM lParam
);
Implementation
int EnumWindows(
Pointer<NativeFunction<EnumWindowsProc>> lpEnumFunc, int lParam) =>
_EnumWindows(lpEnumFunc, lParam);