GetWindow function Null safety user32

int GetWindow(
  1. int hWnd,
  2. int uCmd
)

Retrieves a handle to a window that has the specified relationship (Z-Order or owner) to the specified window.

HWND GetWindow(
  HWND hWnd,
  UINT uCmd
);

Implementation

int GetWindow(int hWnd, int uCmd) => _GetWindow(hWnd, uCmd);