EnumWindows function user32

int EnumWindows(
  1. Pointer<NativeFunction<WNDENUMPROC>> lpEnumFunc,
  2. int lParam
)

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<WNDENUMPROC>> lpEnumFunc, int lParam) =>
    _EnumWindows(lpEnumFunc, lParam);