SetWindowLong

[DllImport("coredll.dll", SetLastError = true)]
public static extern int SetWindowLong(
   IntPtr hWnd,
   int nIndex,
   int dwNewLong
);

Microsoft documentation: Link

Last updated