GetWindowRgnBox function Null safety user32
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);
}