IsWindowEnabled function Null safety user32

int IsWindowEnabled(
  1. int hWnd
)

Determines whether the specified window is enabled for mouse and keyboard input.

BOOL IsWindowEnabled(
  HWND hWnd
);

Implementation

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