EnumDesktopWindows function user32
Enumerates all top-level windows associated with the specified desktop. It passes the handle to each window, in turn, to an application-defined callback function.
BOOL EnumDesktopWindows(
HDESK hDesktop,
WNDENUMPROC lpfn,
LPARAM lParam
);
Implementation
int EnumDesktopWindows(
int hDesktop,
Pointer<NativeFunction<WNDENUMPROC>> lpfn,
int lParam,
) => _EnumDesktopWindows(hDesktop, lpfn, lParam);