ShowOwnedPopups function Null safety user32

int ShowOwnedPopups (
  1. int hWnd,
  2. int fShow
)

Shows or hides all pop-up windows owned by the specified window.

BOOL ShowOwnedPopups(
  HWND hWnd,
  BOOL fShow
);

Implementation

int ShowOwnedPopups(int hWnd, int fShow) {
  final _ShowOwnedPopups = _user32.lookupFunction<
      Int32 Function(IntPtr hWnd, Int32 fShow),
      int Function(int hWnd, int fShow)>('ShowOwnedPopups');
  return _ShowOwnedPopups(hWnd, fShow);
}