EnumThreadWindows function user32

int EnumThreadWindows(
  1. int dwThreadId,
  2. Pointer<NativeFunction<WNDENUMPROC>> lpfn,
  3. int lParam
)

Enumerates all nonchild windows associated with a thread by passing the handle to each window, in turn, to an application-defined callback function. EnumThreadWindows continues until the last window is enumerated or the callback function returns FALSE.

BOOL EnumThreadWindows(
  DWORD       dwThreadId,
  WNDENUMPROC lpfn,
  LPARAM      lParam
);

Implementation

int EnumThreadWindows(int dwThreadId, Pointer<NativeFunction<WNDENUMPROC>> lpfn,
        int lParam) =>
    _EnumThreadWindows(dwThreadId, lpfn, lParam);