GetWindowRgnBox function Null safety user32

int GetWindowRgnBox (
  1. int hWnd,
  2. Pointer<RECT> lprc
)

The GetWindowRgnBox function retrieves the dimensions of the tightest bounding rectangle for the window region of a window.

int GetWindowRgnBox(
  HWND   hWnd,
  LPRECT lprc
);

Implementation

int GetWindowRgnBox(int hWnd, Pointer<RECT> lprc) {
  final _GetWindowRgnBox = _user32.lookupFunction<
      Int32 Function(IntPtr hWnd, Pointer<RECT> lprc),
      int Function(int hWnd, Pointer<RECT> lprc)>('GetWindowRgnBox');
  return _GetWindowRgnBox(hWnd, lprc);
}