SetParent function Null safety user32

int SetParent(
  1. int hWndChild,
  2. int hWndNewParent
)

Changes the parent window of the specified child window.

HWND SetParent(
  HWND hWndChild,
  HWND hWndNewParent
);

Implementation

int SetParent(int hWndChild, int hWndNewParent) =>
    _SetParent(hWndChild, hWndNewParent);