GetWindowRect method

int GetWindowRect(
  1. Pointer<HWND__> hWnd,
  2. Pointer<LPRECT> lpRect
)

Implementation

int GetWindowRect(
  ffi.Pointer<HWND__> hWnd,
  ffi.Pointer<LPRECT> lpRect,
) {
  return (_GetWindowRect ??=
      _dylib.lookupFunction<_c_GetWindowRect, _dart_GetWindowRect>(
          'GetWindowRect'))(
    hWnd,
    lpRect,
  );
}