CoAllowSetForegroundWindow

[DllImport("ole32.dll", SetLastError = true)]
public static extern int CoAllowSetForegroundWindow(
   IUnknown pUnk,
   IntPtr lpvReserved
);

Microsoft documentation: Link

Last updated