EnumChildWindows function Null safety user32

int EnumChildWindows(
  1. int hWndParent,
  2. Pointer<NativeFunction<EnumWindowsProc>> lpEnumFunc,
  3. int lParam
)

Enumerates the child windows that belong to the specified parent window by passing the handle to each child window, in turn, to an application-defined callback function. EnumChildWindows continues until the last child window is enumerated or the callback function returns FALSE.

BOOL EnumChildWindows(
  HWND        hWndParent,
  WNDENUMPROC lpEnumFunc,
  LPARAM      lParam
);

Implementation

int EnumChildWindows(int hWndParent,
        Pointer<NativeFunction<EnumWindowsProc>> lpEnumFunc, int lParam) =>
    _EnumChildWindows(hWndParent, lpEnumFunc, lParam);