SetParent function Null safety user32
Changes the parent window of the specified child window.
HWND SetParent(
HWND hWndChild,
HWND hWndNewParent
);
Implementation
int SetParent(int hWndChild, int hWndNewParent) {
final _SetParent = _user32.lookupFunction<
IntPtr Function(IntPtr hWndChild, IntPtr hWndNewParent),
int Function(int hWndChild, int hWndNewParent)>('SetParent');
return _SetParent(hWndChild, hWndNewParent);
}