Introduction - If you have any usage issues, please Google them yourself
Use the EnumWindows API function to examine each running window. Use GetWindowText to determine each window s title. When it finds the target window, the programn uses SendMessage to make the target close itself.