GetWindowInfo function Null safety user32

int GetWindowInfo(
  1. int hwnd,
  2. Pointer<WINDOWINFO> pwi
)

Retrieves information about the specified window.

BOOL GetWindowInfo(
  HWND hwnd,
  PWINDOWINFO pwi
);

Implementation

int GetWindowInfo(int hwnd, Pointer<WINDOWINFO> pwi) =>
    _GetWindowInfo(hwnd, pwi);