OpenIcon function Null safety user32

int OpenIcon(
  1. int hWnd
)

Restores a minimized (iconic) window to its previous size and position; it then activates the window.

BOOL OpenIcon(
  HWND hWnd
);

Implementation

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