using System;
using System.Runtime.InteropServices;
public static class DisplayFusionFunction
{
private const int WM_CLOSE = 0x0010;
[DllImport("user32.dll", CharSet = CharSet.Auto)]
private static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam);
public static void Run(IntPtr windowHandle)
{
SendMessage(windowHandle, WM_CLOSE, IntPtr.Zero, IntPtr.Zero);
}
}